进到root用户下
敲命令cd
yum install mysql
yum install mysql-server
yum install mysql-devel
启动service mysqld start
设置开机启动:chkconfig mysqld on
设置账号密码:mysqladmin -u root password ‘root‘
本文出自 “数据” 博客,请务必保留此出处http://9378676.blog.51cto.com/9368676/1698294
原文地址:http://9378676.blog.51cto.com/9368676/1698294