General
cancel
Showing results for 
Search instead for 
Did you mean: 

MySQL: start/stop at reboot with runlevels?

T Bruns
Advisor

MySQL: start/stop at reboot with runlevels?

Hello NG,

can you tell me:

How i start and stop MySQL by reboot, with runlevels?

Thx
THomas
3 REPLIES
Danny Petterson - DK
Trusted Contributor

Re: MySQL: start/stop at reboot with runlevels?

Hi!

Just put the apropriate stop/start-script in /sbin/init.d (its usual comming with mysql), and link to it from the relevant /sbin/rc*.d-dirs.

That was the short version :-)

Greetings
Danny

Ivan Krastev
Honored Contributor

Re: MySQL: start/stop at reboot with runlevels?

And longer version - http://www.docs.hp.com/en/B2355-90950/ch05s03.html


regards,
ivan
T Bruns
Advisor

Re: MySQL: start/stop at reboot with runlevels?

thx