MariaDB 11.0.1 yum install

yum repository file

[mariadb]
name=mariadb
baseurl=https://mirror.mariadb.org/yum/11.0.1/centos7-amd64/
gpgcheck=1
gpgkey=https://mirror.mariadb.org/yum/RPM-GPG-KEY-MariaDB

Install

yum -y install MariaDB-common.x86_64 MariaDB-client.x86_64 MariaDB-devel.x86_64 MariaDB-server.x86_64

start up

[root@bogon yum.repos.d]# systemctl start mariadb
[root@bogon yum.repos.d]# systemctl enable  mariadb

mistake

Transaction check error:
  file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-11.0.1-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.6.28-2.el7.x86_64

  file /usr/share/mysql/charsets/macroman.xml from install of MariaDB-common-11.0.1-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.6.28-2.el7.x86_64
  file /usr/share/mysql/charsets/swe7.xml from install of MariaDB-common-11.0.1-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.6.28-2.el7.x86_64
  file /etc/my.cnf from install of MariaDB-common-11.0.1-1.el7.centos.x86_64 conflicts with file from package mysql-community-server-5.6.28-2.el7.x86_64
  file /usr/bin/mysql from install of MariaDB-client-compat-11.0.1-1.el7.centos.noarch conflicts with file from package mysql-community-client-5.6.28-2.el7.x86_64
  file /usr/bin/mysql_find_rows from install of MariaDB-client-compat-11.0.1-1.el7.centos.noarch conflicts with file from package mysql-community-client-5.6.28-2.el7.x86_64

solve

[root@bogon yum.repos.d]# yum remove mysql-community-devel-5.6.28-2.el7.x86_64 mysql-community-common-5.6.28-2.el7.x86_64 mysql-community-server-5.6.28-2.el7.x86_64 mysql-community-client-5.6.28-2.el7.x86_64 mysql-community-common-5.6.28-2.el7.x86_64

Guess you like

Origin blog.csdn.net/zhangxueleishamo/article/details/130891549