[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Start mySQL when rebooting



> I will like to set up mySQL so it will automatically start when I reboot
> Qube 3. However I have hard time figure out how, please help me out. Thank
> you.
>
> Michael

Hi

1. cp /usr/local/mysql/bin/safe_mysqld /etc/rc.d/init.d/
   (This is the mysql daemon restart script. If you installed it somewhere
else you
    can always try the command 'locate safe_mysqld')
2. cd to /etc/rc.d/rc3.d/
3. ln -s ../init.d/safe_mysqld S99mysqld
4. If you intend to run xwindows you'll need to repeat 2 and 3 in
/etc/rc.d/rc5.d/

Now if you reboot your machine the mysqld should popup automatically.

Martin Heelis (Emedia Science Ltd, IT Technician)