卸载CentOS自带的Mariadb 查找是否有mariadb: rpm -qa | grep mariadb 根据查询结果进行卸载: rpm -e --nodeps mariadb-libs-5.5.68-1.el7.x86_64