How to install MariaDB on Ubuntu 16.04/18.04 operating system? How can I?
MariaDB is an open-source database. It is fastest-growing relational database management system (RDBMS). It is also developed by the original developer team of MySQL database.
MariaDB is becoming the most popular database. It is an enhanced, drop-in replacement for the MySQL server. In this article, will help you to install and secure the mariadb server.
Step 1: Install MariaDB 10 on Ubuntu
The first step is to install the MariaDB server package from the official Ubuntu repository. Run the below command.
sudo apt-get update sudo apt-get install mariadb-server mariadb-client
MariaDB is successfully installed and it will automatically start the service. To check the MariaDB service status, run the following command.
systemctl status mysql
Run the below command to check the installed MariaDB version.
Step 2: Secure MariaDB Server
After installation, run the following command to secure the MariaDB server.
Step 3: Connect MariaDB Server Using Command Line
Once the above method of securing MariaDB is done, you can connect to the MariaDB server. To login to MariaDB server, run the following command.
mysql -u root -p
Read More: How to Install MySQL 8.0 in Ubuntu
Conclusion: You have learned how to install, configure and secure MariaDB Server. In case of any confusion, kindly feel free to write in below comment box.