homepage Welcome to WebmasterWorld Guest from 54.227.171.163
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Mysql Start on Reboot?
weldonj

10+ Year Member



 
Msg#: 3813430 posted 4:29 pm on Dec 23, 2008 (gmt 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.

Thanks

 

wheel

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



 
Msg#: 3813430 posted 2:57 pm on Dec 27, 2008 (gmt 0)

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.

jeffatrackaid

5+ Year Member



 
Msg#: 3813430 posted 11:24 pm on Jan 14, 2009 (gmt 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.

janharders

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3813430 posted 11:27 pm on Jan 14, 2009 (gmt 0)

on a debian box, you can usually say

update-rc.d mysql defaults

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved