阅读 30

liunx安装mysql时判断有没有mariadb

mysql5.5以上就不能同时安装mariadb

查看是否安装

rpm -qa |grep mariadb复制代码

  systemctl stop mariadb rpm -qa | grep mariadb rpm -e --nodeps mariadb-5.5.52-1.el7.x86_64 rpm -e --nodeps mariadb-server-5.5.52-1.el7.x86_64 rpm -e --nodeps mariadb-libs-5.5.52-1.el7.x86_64 1