Installing & Running MySQL

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:

1Copy /support-files/mysql.server to the directory which contains the startup files.

2Enter 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

3Reboot the server.

218 Running MySQL on Linux-based Servers