MySql下载地址http://mirrors.sohu.com/mysql/
1.rpm安装,安装MySQL时出现不兼容
# rpm -ivh MySQL-server-5.5.52-1.linux2.6.x86_64.rpm
Preparing... ################################# [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.52-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.52-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.52-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.52-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.52-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
……
解决: