How To Install MariaDB on CentOS 7
MariaDB database is developed by the MariaDB Foundation under GNU GPL software . For OS CentOS 7, MySQL database is replaced by MariaDB database.
To install MariaDB, Follow below steps.
Step 1: Update your CentOS 7 repositories by using below command.
sudo yum update
Step 2: install marriadb server package by using below command.
yum install mariadb-server
Step 3: Now start MariaDB by using below command.
sudo systemctl start mariadb
Step 4: Enable MariaDB to start on boot of your CentOS 7.
sudo systemctl enable mariadb
Step 5: To log in to MariaDB using root user
mysql -u root -p
Create your database and start using DB for your application.