安装mysql报Requires: libc.so.6(GLIBC_2.17)(64bit)

Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
           Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
           Requires: systemd
Error: Package: mysql-community-libs-5.6.40-2.el7.x86_64 (mysql56-community)
           Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-client-5.6.40-2.el7.x86_64 (mysql56-community)
           Requires: libc.so.6(GLIBC_2.17)(64bit)
 You could try using --skip-broken to work around the problem

在centos上安装mysql 报上名的错误,经查询发现系统已经安装了libc.so.6,

#cd /etc/yum.repos.d/
#sudo vi mysql-community.repo
找到mysql-56-community
将enable置为0 enable=0
重新安装mysql sudo yum install mysql-server

原因大约是这个:软件的源有错误,要把那个禁用掉

https://unix.stackexchange.com/questions/280385/can-not-install-mysql-server-on-centos-6-7-32bit-error-need-rpm

猜你喜欢

转载自www.cnblogs.com/timlong/p/9318128.html
今日推荐