How to install MariaDB on CentOS 7

May 4, 2017 | By | Reply More

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

Output:

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.

Tags: , , ,

Category: CentOS, Server

Leave a Reply