How To Install MariaDB on Ubuntu 14.04

r00t February 18, 2015

Mariadb-CentOS

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. I will show you through the step by step installation MariaDB on Ubuntu 14.04.

Install MariaDB on Ubuntu 14.04

Step 1. First need to enable 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 user root. Enter the password and make sure not to forget.

Step 3. Secure MariaDB after installation to.

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

Step 4. Start MariaDB service.

Step 5. Login into MariaDB.

After completing installation you can connect to MariaDB using 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 a best deal!

Save

Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon7Share on Reddit1Pin on Pinterest1
The Tags:

Leave a Comment