posted May 25, 2000 11:50 AM
Hi,
I believe that differs between distributions, but on Red Hat or RH derived distro you can do this in the following way:as root:
cd /etc/rc.d/rc3.d
ln -s /etc/rc.d/init.d/mysql S98mysql
That's it! :-) The above was done on Mandrake 7.0, which has the same structure as Red Hat. How does it work? /etc/rc.d/init.d contains scripts to start and stop services on your computer. By creating a symlink to mysql startup script in /etc/rc.d/rc3.d you're telling your system to run it during runlevel 3 startup, which is your regular login. You can also start and stop your services manually using files in /etc/rc.d/init.d directly, for example:
/etc/rc.d/init.d/mysql start
/etc/rc.d/init.d/mysql stop
barrrt