| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Mysql Start on Reboot?|
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.
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.
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.
on a debian box, you can usually say
update-rc.d mysql defaults
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved