MariaDB is an open source database management system (DBMS) which is widely used as a replacement for MySQL. MariaDB has enhanced performance over MySQL. MariaDB is also has the backward compatibility with MySQL making it easy for you to utilize the nodes. All filenames, paths, ports, connectors etc… work unchanged with MariaDB.
In this tutorial you will learn how to Install MariaDB on Ubuntu.
Installing MariaDB from the repository
This is the easiest way to install MariaDB in your box.
- Update your packages using the following command.
sudo apt update
- Install MariaDB using the following command.
sudo apt install mariadb-server
- After the installation MariaDB server will start automatically. You can verify it by running the following command.
sudo systemctrl status mariadb
- In case if the MariaDB server doesn’t start automatically you can run the following command to start the service.
service mariadb start
Also Read: How to Use Wildcards in Linux Explained
Getting Started with MariaDB
After the installation, make sure to check the status of MariaDB server. In case if it is not active and running use the above command to start the service.
After that you can simply type MariaDB on your terminal and press enter to get started.
Type help to list all MySQL commands.
That’s how you can Install MariaDB on Ubuntu. Hope you enjoyed the article. See you from another one.