mariadb
vim /etc/yum.repos.d/mariadb.repo
#输入以下内容
[mariadb]
name = MariaDB
baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/10.5/centos7-amd64/
gpgkey = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
[mariadb]
name = MariaDB
baseurl = https://repo.huaweicloud.com/mariadb/mariadb-10.5.10/yum/centos74-amd64/rpms/
gpgkey = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1