Home » How to Install MariaDB in Ubuntu

How to Install MariaDB in Ubuntu

by Online Tutorials Library

How to install MariaDB in Ubuntu 16.04 LTS?


MariaDB is an open source database. It is one of the most popular databases in the world. Many Tech giants Google, Oracle uses it for the their database solutions.

MariaDB is known for its performance and scalability and managed by MariaDB Foundation.

In this tutorial, we will install MariaDB in Ubuntu operating system. This whole precess includes the following steps.


Make sure, system meets all the following prerequisites.

  • Ubuntu Operating System
  • login as admin/root in terminal

Install MariaDB

Use the following command to install mariadb.

Software MariaDB 1

After installing, login into MariaDB.

Software MariaDB 2

After login, we can set new user and credentials.

Software MariaDB 3

Now, login again with new user tutoraspire.

Software MariaDB 4

Well! It is working fine and we have successfully installed MariaDB on Ubuntu.

You may also like