Nat Gross wrote:
On a test server, we managed to crash mysql to a point where I
couldn't even kill the pid. Furthermore, on a forced shutdown, fc4
failed (timeout) to stop the service.
The problem: upon reboot, fc4 just sits and waits when trying to
startup (after the 'enabling swap space' line), undoubtly when trying
to start mysql.
The good news is that I can ssh into the box (started squid that way).
I would like to shutdown/reboot without mysql. I simply don't know
where in the etc<g> I tell the box not to try start mysql, for now.
Later, after I elimenate the file causing the mysql problem, I would
like to re-activate it again.
Thank you all;
Log in as root.
/sbin/chkconfig mysql off
When you fix the problem, do it again, with "on" instead of "off" to
re-enable.
You can get mysql to rebuild its databases (back to virgin/blank
condition), by nuking the contents of the mysql database directory
(typically /var/lib/mysql).
Hope this helps!
Steve