How to Install MariaDB on Linux Mint 21
To Install MariaDB server on Linux Mint 21 system, few steps are required to execute.
Step 1: The first steps before installing the MariaDB server is to update apt repository to refresh system packages:
Step 2: Once your package list updated, it’s a time to install MariaDB server on system by running following command:
Step 3: Confirm the status of MariaDB server after installing it on Linux system through command:
This active status shows in the above screenshot that MariaDB is active and running successfully in the background.
Step 4: Our next step is to check if we have installed the updated version of MariaDB server or not. For this, the command would be:
Step 5: It is recommended to provide security to MariaDB server but this step is optional. If you want to secure server then run the mentioned command:
While executing this command, the system will ask you to enter a password, as you can install this as a root user. Enter your password and hit Enter:
When you enter password, it will ask you questions, answer them accordingly:
Once you done with the answers, you will get the following response:
Step 6: Now, you can make successful connection to MariaDB server by the help of given command:
Step 7: Run the help command to get better understanding of MariaDB server on Linux system:
How to Remove MariaDB from Linux Mint 21
To remove MariaDB server from Linux Mint 21 system, run the command:
MariaDB is popular among developers as it’s a replacement of SQL and comes with more reliable and user-friendly features. MariaDB is faster than SQL in several ways, especially performing queries or replication. This article has described the step-by-step procedure to install MariaDB server including its configuration process and how we can delete it from the Linux system.