Installing MySQL exception

Installing MySQL on CentOS 6.7 system, first installed with the yum again, reported abnormal

--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.20-1.el7.x86_64 --> Finished Dependency Resolution Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libsasl2.so.3()(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-libs-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: systemd Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-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

Later rookie helpful tutorial mode to reinstall the same mistakes, the installation steps address: https: //www.runoob.com/mysql/mysql-install.html

access a variety of information; to determine the basic problem is that the dependency of mysql; because of the this, the fastest solution is to uninstall reinstall.

uninstallation steps:

1. Quick delete the Remove MySQL MySQL-Server yum-libs MySQL MySQL-Server
2. Find the remaining files -qa RPM | grep -i MySQL
3. will check out the files one by one to delete, such as: yum remove mysql-community-common -5.7 .20-1.el6.x86_64
4. Find residue directory MySQL the whereis
5. The delete the directory one by one, such as: rm -rf / usr / lib64 / mysql

 
清除干净之后重新安装

Guess you like

Origin www.cnblogs.com/huanshilang/p/11332605.html