码迷,mamicode.com
首页 > 数据库 > 详细

CentOS7安装mysql5.7不成功,解决依赖包之后还是无法安装成功

时间:2017-09-29 00:09:56      阅读:2480      评论:0      收藏:1      [点我收藏+]

标签:安装   centos7   mysql   

[root@xg79 ~]# yum -y installmysql-community-server

。。。。。。。。。。。。。

Error: Package:mysql-community-server-5.7.19-1.el6.x86_64 (mysql57-community)

           Requires: libsasl2.so.2()(64bit)

Error: Package:2:postfix-2.10.1-6.el7.x86_64 (@anaconda)

           Requires:libmysqlclient.so.18()(64bit)

           Removing:1:mariadb-libs-5.5.56-2.el7.x86_64 (@anaconda)

               libmysqlclient.so.18()(64bit)

           Obsoleted By:mysql-community-libs-5.7.19-1.el6.x86_64 (mysql57-community)

              ~libmysqlclient.so.20()(64bit)

Error: Package:2:postfix-2.10.1-6.el7.x86_64 (@anaconda)

           Requires:libmysqlclient.so.18(libmysqlclient_18)(64bit)

           Removing:1:mariadb-libs-5.5.56-2.el7.x86_64 (@anaconda)

              libmysqlclient.so.18(libmysqlclient_18)(64bit)

           Obsoleted By:mysql-community-libs-5.7.19-1.el6.x86_64 (mysql57-community)

               Not found

 You could try using --skip-broken to workaround the problem

 You could try running: rpm -Va --nofiles –nodigest

 

经过一下午的努力centos7安装mysql时遇到以上错误,解决安装包之后还是不能正确安装mysql,原来是自己的mysql源里面的6和我们使用的CentOS7不匹配导致mysql安装不成功,只需要把所以的6改成7即可



CentOS7安装mysql5.7不成功,解决依赖包之后还是无法安装成功

标签:安装   centos7   mysql   

原文地址:http://13155409.blog.51cto.com/13145409/1969558

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!