Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Mysql Start on Reboot?



4:29 pm on Dec 23, 2008 (gmt 0)

10+ Year Member

Whenever my server has to be rebooted for some reason mysql does not automatically get loaded on reboot.

I have to go in in and type mysql start.

What config file do I need to do to change this? Or where could I go for some support on this.



2:57 pm on Dec 27, 2008 (gmt 0)

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member

google's a good start. Look into the init.d files. though if it's a current linux distribution you're using, you can probably do this through some sort of gui.


11:24 pm on Jan 14, 2009 (gmt 0)

5+ Year Member

What linux distro are you using? Different distros have different start up procedures.

Red Had and many others use chkconfig

chkconfig --list mysql
or chkconfig --list mysqld
should show if it is enabled on boot.

chkconfig mysql on
would turn it on for boot.


11:27 pm on Jan 14, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

on a debian box, you can usually say

update-rc.d mysql defaults


Featured Threads

Hot Threads This Week

Hot Threads This Month