Install MariaDB

From KlavoWiki
Revision as of 06:03, 24 August 2020 by David (Sọ̀rọ̀ | contribs) (Created page with "= Create Repo = To install MariDB 10.3.x on Centos x64. <pre> vi /etc/yum.repos.d/MariaDB.repo </pre> <pre> [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.3/ce...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/