Howto Install MariaDB 10.3 on CentOS 7 ?

Below are the steps.

1.   Create repo file for MariaDB 10.3 as below.

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

Save this file and run

# yum update -y

2.  Install MariaDB 10.3 as below.

#  yum install MariaDB-server MariaDB-client -y

3.  Enable to start this service at boot time.

#  systemctl enable mariadb.service

4.  Start the service.

#  systemctl start mariadb.service

5.  Check activity on Port 3306 (Default MySQL Port.)

#  lsof -i :3306

6.  Now Login to MariaDB using MySQL Client as below.

# mysql -h localhost -u root -p

Default password is Nil (No Password.)

Change the administrator password.