首页 > 数据库技术 > 详细

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

时间:2017-09-28 23:32:59      阅读:14299      评论:0      收藏:0      [点我收藏+]

[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不成功,解决依赖包之后还是无法安装成功

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

(14)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!