Getting MySQL not to start

Mitch Anderson pluglist at plug.org
Tue May 6 08:25:33 MDT 2003


On Tue, 2003-05-06 at 08:01, Al Byers wrote:
> I installed mysql and now I don't need it any more. I see the script in 
> init.d, but I don't know how it gets triggered. What is the proper way 
> to make it so the script does not get run at startup?
> 
> Thanks,
> -Al

the easy ways would depend on the distribution... redhat has a curses
based ntsysv which will edit your current run level... and to modify any
others you appened "--level x" to whatever runlevel you like.  Debian
has an update-rc command that is used.  Or, you can just go into
/etc/rcX.d (or equivalents depending on distro...) directories where X
is the runlevel you want to edit.  Then change any SYYmysqld to
KYYmysqld.  Where as K, would represent "kill" and S represents
"start".  Y would be a number in which they are executed and isn't
extremely critical... just leave it the same.




More information about the PLUG mailing list