centos CentOS安装MySQL详解 一、YUM0、删除已安装的MySQL检查MariaDBshell> rpm -qa|grep mariadb mariadb-server-5.5.60-1.el7_5.x86_64 mariadb-5.5.60-1.el7_5.x86_64 mariadb-libs-5.5.60-1.el7_5.x86_64 复制代码删除mariadb如果不存在(上面检查结果返回空)则跳过步骤shell>