1753346 Members
5060 Online
108792 Solutions
New Discussion юеВ

Re: 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 5
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)