Howto tell fc4 not to load mysql

yonas abraham yonas at erimp3.com
Mon Jan 23 18:06:56 UTC 2006


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;
> -nat
>
>   

as root
/sbin/chkconfig --del mysqld

would do it.

later on if you want to restore it

/sbin/chkconfig --add mysqld

/yonas




More information about the fedora-list mailing list