centos7,出现如下错误:
Error: Package: MariaDB-client-10.1.14-1.fc22.x86_64 (mariadb)
Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
可能是gcc版本冲突的问题,最终换为mysql社区版本,可以正常安装:
rpm -Uvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
yum install mysql-community-server
方法来自:
http://tecadmin.net/install-mysql-on-centos-redhat-and-fedora/#