CentOS 7 official yum repository or old-fashioned Mairadb 5.5 records about the use of domestic sources directly mirrored yum install MariaDB 10.4
Configuration repo
# vim /etc/yum.repo.d/mariadb.repo
Paste the contents of the following
[mariadb]
name = MariaDB
baseurl = http://mirrors.ustc.edu.cn/mariadb/yum/10.4/centos7-amd64
gpgkey=http://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1
Hate them
# yum update -y
# yum install -y mariadb-server mariadb-client