Install MariaDB 10.3 on CentOS 7

MariaDB is an Open Source MySQL drop-in replacement. MariaDB provides a repository for various operating systems at

https://mariadb.org/download/?tab=repo-config

To install MariaDB 10.3 on CentOS 7, create a file

vi /etc/yum.repos.d/MariaDB.repo

Add

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Install the MariaDB server and client with

yum install MariaDB-server MariaDB-client

Enable MariaDB to start on boot

systemctl enable mariadb

Start MariaDB

systemctl start mariadb
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *