User's Manual
Installing & Running MySQL
218 Running MySQL on Linux-based Servers
Running MySQL on Linux-based Servers
To run MySQL on Linux-based servers type the following:
shell> bin/safe_mysqld --user=mysql &
If you want to start MySQL automatically:
1 Copy /support-files/mysql.server to the directory which
contains the startup files.
2 Enter the following commands:
shell> chmod a+x mysql.server
shell> cp mysql.server /etc/rc.d/init.d/mysql
shell> ln -s /etc/rc.d/init.d/mysql /etc/rc.d/rc3.d/S99mysql
shell> ln -s /etc/rc.d/init.d/mysql /etc/rc.d/rc0.d/S01mysql
shell> chkconfig --add mysql
3 Reboot the server.