No package mysql-server available.

发布时间:2017-1-24 1:01:29 编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"No package mysql-server available. ",主要涉及到No package mysql-server available. 方面的内容,对于No package mysql-server available. 感兴趣的同学可以参考一下。

No package mysql-server available.

Centos 7 comes with MariaDB instead of MySQL. MariaDb is a open source equivalent to MySQL and can be installed with yum -y install mariadb-server mariadb. If you must have mysql you need to add the mysql-community repo sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm and then you can install MySQLl like you normally do.

第一步:运行 sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

第二步: 运行 yum install mysql-server 可用了

上一篇:获取子字符串在元字符串中出现的所有位置
下一篇:Linux-深入理解Socket异常

相关文章

相关评论