# MariaDB 10.6 CentOS repository list - created 2021-08-18 02:54 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
baseurl = https://mirrors.nju.edu.cn/mariadb/yum/10.6/centos7-amd64
gpgkey=https://mirrors.nju.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1
sudo yum install MariaDB-server MariaDB-client
yum makecache
yum clean all
CentOS7 Without SELinux MariaDB Install
原文:https://www.cnblogs.com/sdlea/p/15155987.html