LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-14-2005, 10:02 AM   #1
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Rep: Reputation: 15
Question MySQL , is it running? is it there?


Hello everyone,

My question pertains to MySQL database which "I THINK" i have installed.
When i do
Code:
rpm -qa | grep MySQL
i get a reply
MySQL-client-4.0.25-0
MySQL-server-4.0.25-0
So i have to assume that I have the 4.0.25 server on my machine.

I then try to determine if it is running or not with
Code:
ps -aux | grep MySQL
which replies with
grep MySQL
so it doesn't appear as if the server is running.

Bottom line here is I have no clue if the thing is on or off, and don't have any idea how to turn it on and off.

What my attempt here is to setup php & mysql to host my phpnuke site off my box at home.

Any MySQL info much appreciated or some excellent links because so far the ones i've dug through via google haven't help my progress.
 
Old 09-14-2005, 10:16 AM   #2
bunyan
Member
 
Registered: Oct 2004
Posts: 45

Rep: Reputation: 15
Try running

/etc/rc.d/init.d/mysql start

Post back what it says

bunyan


Thats how I start my mysql server
 
Old 09-14-2005, 10:50 AM   #3
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
it replied with nothing
does that mean it is runnin?
If so how do i check and see if it is running?
 
Old 09-14-2005, 10:56 AM   #4
bunyan
Member
 
Registered: Oct 2004
Posts: 45

Rep: Reputation: 15
/etc/rc.d/init.d/mysql status give you the status

Did yuo get any errors or Oks when you ran the above command? Also, in your /etc/rc.d/init.d directory do you see a program called mysql or something similar to that?

bunyan
 
Old 09-14-2005, 11:01 AM   #5
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
No i didn't get any OK's or anythign when I ran the above command it
simply ran and placed me back at shell prompt.

When i got into my init.d directory i do have mysql in there
 
Old 09-14-2005, 11:15 AM   #6
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
well it's running, but it's running under my regular user.
Is it possible to change the user it runs under?
 
Old 09-14-2005, 11:35 AM   #7
bunyan
Member
 
Registered: Oct 2004
Posts: 45

Rep: Reputation: 15
When you say its running under your regular user, what exactly do you mean? Also, did you have to install it via RPM or did your distro come with it? If you installed it yourself, depending on how you installed it it may run as you, nobody, or as a user called mysql. When I went with the mysql that came with the distro, I think it ran as the user mysql. When I installed it from source I think in the README it told me what user it would run as. Then I had to make sure I created that user account manually. When I installed from rpm, I think it ran as mysql.

If you installed it yourself that could be why its running as you. If you want to change that you may have to re install it im not sure yet...

bunyan
 
Old 09-14-2005, 02:02 PM   #8
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
I may go through a re-install anyway.
I'm confused to where things are that pertain to mysql.
I can't find the my.cnf to configure it and there are other
things I'm unable to find
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with running mysql Robin01 Linux - Newbie 1 08-29-2005 06:18 PM
Checking to See if MySQL is Running HappyDude Linux - Software 3 12-10-2004 06:52 PM
does anyone have mysql running under Fedora? cpv204 Fedora 11 02-07-2004 01:29 PM
installing and running mysql?! neon Linux - Newbie 4 10-10-2003 03:38 AM
running mysql ?? shaahul Linux - Software 1 09-03-2003 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration