1、yum -y install mysql-server

2、chkconfig mysqld on

3、/etc/rc.f/init.d/mysqld start
 
4、启动mysql 设置密码和安全