需要再安装yum install mariadb-server就可以了, 重启服务器,使用命令 sudo systemctl start mariadb.service 转载于:https://www.cnblogs.com/li-mei/p/6084760.html