PDA

View Full Version : mysql error


The_cobra666
07-22-2006, 08:07 AM
-bash-3.00# service mysqld stop
ERROR! MySQL PID file could not be found!
-bash-3.00# /etc/rc.d/init.d/mysqld stop
ERROR! MySQL PID file could not be found!
-bash-3.00# /etc/rc.d/init.d/mysqld restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!
-bash-3.00#


I can't start it up again :@, and I didn't even stop it :( it's still running according to the directadmin panel :(

jmstacey
07-23-2006, 11:54 AM
Try killing it.

This should get you the PIDs:
ps ax | grep mysqld

chatwizrd
07-23-2006, 12:52 PM
killall -9 mysql

or

ps xua | grep mysql | awk '{print $2}' | xargs kill