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.

Ivan Dabić

A man with a beard and glasses, wearing an orange hoodie and a black cap with a Hard Rock Cafe logo, stands with his arms crossed against a plain white background.

Ivan Dabić

Co-founder and CEO of BlueGrid.io, with a background in cloud infrastructure, distributed systems, monitoring, and security operations. He works closely with engineering teams to build and operate reliable systems while documenting both technical and organizational aspects of modern engineering work.

Ivan is a metalhead, and big fan of cyberpunk move genre. If you are his secret Santa go with Star Wars Lego box!

Share this post

Share this link via

Or copy link