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)

New User

10+ Year Member

joined:Mar 9, 2003
votes: 0

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)

Senior Member

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

joined:Feb 11, 2003
votes: 12

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)

New User

10+ Year Member

joined:Jan 14, 2009
posts: 40
votes: 0

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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2008
votes: 0

on a debian box, you can usually say

update-rc.d mysql defaults


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members