一:查询已经安装的mysql
二:将原有的mysql删除:
yum remove mysql-community-client-5.6.51-2.el7.x86_64
yum remove mysql-community-release-el7-5.noarch
yum remove mysql-community-common-5.6.51-2.el7.x86_64
三:安装Mariadb数据库
yum install mariadb-server,如下图,表示已经安装成功
一:查询已经安装的mysql
二:将原有的mysql删除:
yum remove mysql-community-client-5.6.51-2.el7.x86_64
yum remove mysql-community-release-el7-5.noarch
yum remove mysql-community-common-5.6.51-2.el7.x86_64
三:安装Mariadb数据库
yum install mariadb-server,如下图,表示已经安装成功