[URGENT!!!] MYSQL stopped running, cannot restart with Error.

djxpire

New member
Joined
Feb 2, 2009
Messages
4
My server is on Debian.
Mysql suddenly stopped and cannot be restarted via DA & Shell.
Anyone to help me with this ASAP, please PM me with your now!!!

This is a dedicated server for busy site, need help urgently!

Thanks!

:D
 
I sent you a private message as asked, but for next time remember that when you have an error message, it may be helpful to copy/paste it in your thread: anyone reading may have a prompt solution, and it's also going to help everyone else with the same problem.
 
Stopping MySQLd from the DirectAdmin control panel won't tell you any error messages, and specifically won't tell you if MySQLd doesn't stop because it's still processing requests at the end of the timeout period.

So it's a much better idea to manage MySQLd from the command line, where you can see if it truly finishes the stop procedure.

That said, it's never a good idea to use killall on MySQLd because it may still be processing active requests, and -9 will send it an interrupt telling it to stop even if it's not finished. You should only do this if multiple tries without -9 result in still having processes that won't stop; it can cause databases to be out of sync.

And since it can take over a minute to stop an active MySQLD server, and since DirectAdmin will try to restart it every minute of the main daemon (the one in the pid file) isn't running), it's a good idea to try stopping it from DirectAdmin first, just so DirectAdmin won't continually try to restart it.

Also remember that the restart above does NOT add it back into the list of processes that DirectAdmin should monitor; you should probably doing a start command from DirectAdmin to be sure of that.

Jeff
 
Back
Top