How to install MariaDB on CentOS 7

CentOS 7 Tutorial – Hello everyone, today I am going to update my tutorial on how to install and configure MariaDB on CentOS 7. I am installing this CentOS 7 server on a private cloud server at DigitalOcean. No matter you are installing CentOS on local server or cloud server, you may use the following steps to install MariaDB database server.

Steps to install MySQL (MariaDB) on CentOS 7 Server

Step 1. Install the MariaDB packages

Use this command to start installing MariaDB

Sample output:

Answer y and press Enter to complete the installation.

Step 2. Start MySQL Server

Step 3. Secure MySQL Installation


Step 4. Enable MariaDB on server startup

Now we have MariaDB database server up and running on CentOS 7 server. Thanks for reading this post and please share if you think this post is useful.


Leave a Reply

Your email address will not be published. Required fields are marked *