阿里云上安装RHEL 7.2 安装MySQL 报错
近期有越来越多的客户在生产环境下部署MySQL/MariaDB,大家对开源数据库也是越来有信心了。

# rpm -ivh mysql-community-common-*.el6.x86_64.rpm
warning: mysql-community-common-5.7.19-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/english/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file 

    解决方法:
    #rpm -e mariadb-libs-1:5.5.52-1.el7.x86_64 --nodeps