[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mysql



On 30/07/13 21:30, Ralf Mardorf wrote:
On Tue, 2013-07-30 at 16:16 -0400, Ethan Rosenberg, PhD wrote:
Is the MySQL server running?

ps aux | grep mysql

--->  ethan@meow:~$ ps aux | grep mysql
ethan     3043  0.0  0.0   3300   772 pts/0    S+   13:12   0:00 grep
mysql<--

ps aux does show all running processes ;). 3043 is the process
identifier. If you would run

kill -9 3043

you could see what happens if it wouldn't run. It didn't need CPU or
memory for work at the moment you run ps aux.

Run

top

while mysql is working.


Process 3043 in this case is the grep command from ps aux | grep mysql.

It looks like mysql is not running.

Next step is to look in /var/log/mysql.log for error messages indicating why it didn't start.

--
Dom

===============

Thanks to all -

Now that we have established that mysql is not running, how to I restart it?

TIA

Ethan


Reply to: