执行命令:
[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