Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Mysql

marco_186
Advisor

Mysql

dear all
i setup Mysql on UX_Hp but when i reboot the machine mysql didnt startup till to make it manual can anybody tell me how to make it automatic evrytime for rebooting

thanks alot
5 REPLIES
Mel Burslan
Honored Contributor

Re: Mysql

assuming you have a script that starts mysql at location /opt/mysql/share/mysql

cp /opt/mysql/share/mysql /sbin/init.d #this is not mandatory but a good practice

ln -s /sbin/init.d/mysql /sbin/rc3.d/S120mysql

this should take care of the startup.
________________________________
UNIX because I majored in cryptology...
Muthukumar_5
Honored Contributor

Re: Mysql

You have to configure startup script for mysql in /sbin/init.d/mysql and /etc/rc.config.d/ mysql related configuration file. You have to give link to run levels /sbin/rc[01234]/ based on your RUN LEVEL.

hth.



Easy to suggest when don't know about the problem!
Jean-Luc Oudart
Honored Contributor

Re: Mysql

Yogeeraj_1
Honored Contributor

Re: Mysql

hi,

please refer to the attached document which contains all the necessary steps for automatic startup during a restart/reboot.

hope this helps!
regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: Mysql

attachment
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)