Sunday, February 15, 2009

MySQL start while booting the machine

su -

cd /usr/local/mysql/support-files/

cp mysql.server /etc/init.d/

cd /etc/init.d/

chmod +x mysql.server

mv mysql.server mysql

service mysql start

chkconfig --add mysql