How To Install MariaDB on Ubuntu 14.04

Install MariaDB on Ubuntu 14.04

For those of you who didn’t know, MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments. MariaDB is widely used and several Linux distributions and large companies have already switched from MySQL to MariaDB.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. The installation is quite simple. I will show you through the step by step installation MariaDB on Ubuntu 14.04.

Install MariaDB on Ubuntu 14.04

Step 1. The first need to enable the MariaDB repository.

Step 2. Installation of MariaDB.

Once the key is imported and the repository added you can install MariaDB with:

At the time of installation, MariaDB would ask for the password of the user root. Enter the password and make sure not to forget.

Step 3. Secure MariaDB after installation.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. you should read and below each step carefully which will set a root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

Step 4. Start the MariaDB service.

Step 5. Login into MariaDB.

After completing the installation you can connect to MariaDB using the following command.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!