Install MariaDB

From KlavoWiki
Jump to navigationJump to search

Create Repo

To install MariDB 10.3.x on Centos x64.

vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
yum clean all
yum update


Specific Version/Branch

Change the base url. Example:

For latest version of 10.5

baseurl = http://yum.mariadb.org/10.5/centos7-amd64

For a specific version 10.3.22

baseurl = http://yum.mariadb.org/10.3.22/centos7-amd64

Show Available Versions/Branches

http://yum.mariadb.org/