In this tutorial will we install MariaDB on CentOS 7 using the default yum repositories.
What is MariaDB ?
MariaDB is an free and open source database server made by the original developers of MySQL. It is a drop-in replacement for MySQL.
1. Install MariaDB client and server
yum install mariadb mariadb-server -y
2. Enable and start MariaDB service
systemctl enable mariadb && systemctl start mariadb
3. Run the setup script, accepting all defaults. Note: You can set your database root password during this process.
MariaDB is now installed & running! The next step is to add users and databases.