su mysql
mysql_install_db (run as mysql for best results)
mysqld_safe –user=mysql&
mysql -u root -p
mysqladmin -u root password ‘dieagain’
cd /etc/rc.d
You’ll find a file called rc.mysqld. Make it executable by chmod 755 rc.mysqld
Edit rc.M and include the following block:
if [ -x /etc/rc.d/rc.mysqld ]; then
. /etc/rc.d/rc.mysqld
fi
Now, you’re done.