从最新版本的centos系统开始,默认的是 Mariadb而不是MysqL!
使用系统自带的repos安装很简单:
yum install mariadb mariadb-server
systemctl start mariadb ==> 启动mariadb
systemctl enable mariadb ==> 开机自启动
MysqL_secure_installation ==> 设置 root密码等相关
原文链接:https://www.f2er.com/centos/381156.html