CentOS 6.5系统卸载MysqL并安装MariaDB的方法
关闭目前的MysqL服务 #/etc/init.d/MysqLd stop
查询MysqL的安装情况: #rpm -qa | grep MysqL
将列出来的删除。 #rpm -e MysqL-server.x86_64
这里有些朋友可能会出错,形如: [root@centos-dev halc]# rpm -e MysqL-libs-5.1.69-1.el6_4.i686 error: Failed dependencies: libMysqLclient.so.16 is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686 libMysqLclient.so.16(libMysqLclient_16) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686 MysqL-libs is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
用这个就好了 #rpm -e --nodeps MysqL-libs-5.1.69-1.el6_4.i686
之后就能安装MariaDB了。
yum安装MariaDB的方法,去MariaDB的官网上,那里有详细说明
原文链接:https://www.f2er.com/centos/375083.html