1 minute read

How to install MariaDB on Ubuntu Operating System

Let’s focus on the topic, without too much talking 😁 - how to install MariaDB on Ubuntu OS!

Specification:

OS Version: Ubuntu Os 18.04.3 (LTS) x64
MariaDB Version: 10.1.44

Update operating system with following command:

bluegrid-edu:~# apt-get update

Install mariadb server:

bluegrid-edu:~# apt-get install mariadb-server

When the installation process is finished we can confirm that service is installed and active:

bluegrid-edu:~# systemctl status mariadb
How to install MariaDB on Ubuntu | MariaDB status
Check MariaDB status

Let’s make sure that mariadb service starts automatically when system starts:

bluegrid-edu:~# systemctl enable mariadb

MariaDB Server is the MySQL fork developed by MySQL developers, it’s used by large companies from the industry among which are WordPress.org, Google, and Wikipedia. It’s guaranteed that MariaDB Server will stay Open Source.

When using a database server it usually means that we need to create a database, users, and grant certain permissions to the database.