安装
wget http://dev.MysqL.com/get/MysqL-community-release-el7-5.noarch.rpm rpm -ivh MysqL-community-release-el7-5.noarch.rpm yum install MysqL-community-server
启动
service MysqLd restart
设置密码
MysqL -uroot MysqL> set password for 'root'@'localhost' = password('123456'); MysqL> exit
配置MysqL (字符集,数据存储路径等)