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

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


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

mysql_secure_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