centos yum 安装 mysql报错Requires: libc.so.6(GLIBC_2.17)(64bit) Requires: systemd Requires: libstdc++.so

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
 You could try running: rpm -Va --nofiles --nodigest

解决方案如下:

一、

1、yum install glibc.i686

2、yum list libstdc++*

二、

#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

 

你可能感兴趣的:(问题总结)