(1) List all installed RPM package
# Rpm-qa | grep mariadbmariadb-libs-5.5.50-1.el7_2.x86_64mariadb-5.5.50-1.el7_2.x86_64mariadb-server-5.5.50-1.el7_2.x86_64
(2) Uninstall
# RPM-E Mariadb-libs-5.5.50-1.el7_2.x86_64
Error at this time:
error: failed dependencies: libmysqlclient.so.18 () (64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64 libmysqlclient.so.18 () ( 64bit) is needed by (installed) perl-DBD-MySQL-4.023-5.el7.x86_64 libmysqlclient.so.18 () (64bit) is needed by (installed) php-mysql-5.4.16-36.3.el7_2.x86_64 libmysqlclient.so.18 (libmysqlclient_18) (64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64 libmysqlclient.so.18 (libmysqlclient_18) (64bit) is needed by (installed) perl-dbd-mysql-4.023-5.el7.x86_64 libmysqlclient.so.18 (libmysqlclient_18) (64bit) is needed by (installed) php-mysql-5.4.16-36.3.el7_2.x86_64 Mariadb-libs (x86-64)  = 1:5.5.50-1.EL7_2 IS NEEDED&NBsp;by (installed) mariadb-1:5.5.50-1.el7_2.x86_64 mariadb-libs (x86-64) = 1:5.5.50-1.el7_2 is needed by (installed) mariadb-server-1:5.5.50-1.el7_2.x86_ 64
(3) Forced unloading, because there is no –nodeps
# rpm-e--nodeps mariadb-libs-5.5.50-1.el7_2.x86_64# rpm-e--nodeps mariadb-5.5.50-1.el7_2.x86_64# rpm-e--nodeps Maria Db-server-5.5.50-1.el7_2.x86_64
(4) You can then install MySQL.
Uninstall the MARIADB database on Centos7, install MySQL