mariadb yum 镜像源

vim /etc/yum.repos.d/mariadb.repo


# rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
# /etc/yum.repos.d/mariadb.repo
# yum install MariaDB-server MariaDB-client
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/mariadb-10.1.19/yum/centos6-x86
gpgkey=https://mirrors.tuna.tsinghua.edu.cn/mariadb/mariadb-10.1.19/yum/centos6-x86/RPM-GPG-KEY-MariaDB
gpgcheck=1
exclude=MariaDB-Galera-server