当我尝试启动 mariadb 时,我得到:
[root]# systemctl start mariadb
Failed to start mariadb.service: Unit not found.
我还收到了这样的消息:
Package 1:mariadb-5.5.56-2.el7.x86_64 is obsoleted by mysql-community-client-5.6.39-2.el7.x86_64 which is already installed
接下来我应该做什么?
答案1
mariadb 服务称为 mysqld。
尝试systemctl start mysqld
编辑:即使你安装了 mysql,这个解决方案仍然有效:)