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

1 comment:

Unknown said...

If mysql command not working for a user other than root, then try this

cp /usr/local/mysql/bin/mysql /usr/bin/