How to install MariaDB 10.3 on CentOS 7

banner dedicated

In this tutorial, we will explain how to install MariaDB 10.3 on your Centos Server

Add the MariaDB Repository to your server

cd /etc/yum.repos.d/
nano mariadb.repo

Add the following block and save

name = MariaDB
baseurl =

Install MariaDB Server

yum install mariadb-server mariadb-client -y

Start and enable MariaDB onboot

systemctl start mariadb
systemctl enable mariadb

Secure your MariaDB installation


Connect your MariaDB

mysql -u root -p

Use the root password set during the installation

banner dedicated

Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services