centos – 百胜:Cent OS 7中没有包mysql-server

前端之家收集整理的这篇文章主要介绍了centos – 百胜:Cent OS 7中没有包mysql-server前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚在我的新Digital Ocean Cent OS 7 x64服​​务器上安装了Apache.在遵循Digital Ocean的教程时,yum无法安装 mysql-server.
# yum install MysqL MysqL-server MysqL-libs MysqL-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.usinternet.com
 * extras: mirror.cogentco.com
 * updates: mirror.atlanticmetro.net
Package 1:mariadb-5.5.40-2.el7_0.x86_64 already installed and latest version
No package MysqL-server available.
Package 1:mariadb-libs-5.5.40-2.el7_0.x86_64 already installed and latest version
No package MysqL-server available.
Nothing to do

# service MysqLd start
Redirecting to /bin/systemctl start  MysqLd.service
Failed to issue method call: Unit MysqLd.service Failed to load: No such file or directory.

这是我的第三台服务器设置MysqL,但是这个让我难过.

在RHEL 7中,因此在CentOS7中,由于上游重命名/分叉,MysqL-packages(或其中大部分,无论如何)已被mariadb-packages替换.只需yum安装mariadb-server mariadb-libs mariadb就可以了 – 命令名称本身仍然主要与MysqL相关.

猜你在找的CentOS相关文章