虚拟机安装MySQL报** is needed by **错误

执行命令:

[root@node1 local]# rpm -ivh mysql-community-server-8.0.12-1.el7.x86_64.rpm

安装MySQL遇到以下问题:

error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libc.so.6(GLIBC_2.16)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libc.so.6(GLIBC_2.17)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libsasl2.so.3()(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(CXXABI_1.3.5)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(CXXABI_1.3.7)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(GLIBCXX_3.4.14)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(GLIBCXX_3.4.17)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
libstdc++.so.6(GLIBCXX_3.4.19)(64bit) is needed by mysql-community-server-8.0.12-1.el7.x86_64
systemd is needed by mysql-community-server-8.0.12-1.el7.x86_64

 解决办法:

[root@node1 local]# rpm -ivh mysql-community-server-8.0.12-1.el7.x86_64.rpm --force --nodeps

  

上一篇:maven 编译的时候总是报一些奇怪的错误 比如 surefire-boot 2.10 .jar 可是私服里查看本来就没有这个高的版本。


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