Starting/Stopping MySQL at Boot Time

Once you have MySQL running nicely, you can set up the database server to start at boot time by switching to the install directory, copying the startup script to the init directory and then installing it at the correct run levels:

     cd /rpm/MySQL/mysql-m.n.xx
     or
     cd /rpm/MySQL/mysql-m.n.xx/bldprod
     su
     cp support-files/mysql.server /etc/rc.d/init.d/mysql
     chmod ugo+x /etc/rc.d/init.d/mysql
     /sbin/chkconfig --add mysql
     /sbin/chkconfig mysql on

After that, if you wish, you start the MySQL daemon do this:

     /etc/rc.d/init.d/mysql start

It should start/stop automatically when the system is brought up/down.