How to Install MariaDB on Ubuntu 16 Updated on August 12, 2021 by Christopher Maiorana 0 Minutes, 53 Seconds to Read If you plan on adding a relational database integration to your site, you will need to install a database management program. The open-source MariaDB installation is a popular alternative to MySQL. In this article, we’ll show how to install MariaDB on your Ubuntu Cloud VPS. See the updated guide on how to install MariaDB for Ubuntu 20. How to Install MariaDB As is common practice, you will want to make sure the packages in your package manager are up to date:sudo apt-get updateNext, run the installation command for MariaDB:sudo apt-get install mariadb-serverOnce you’ve answered “Yes” (Y) to the prompt, the installation will proceed.We can verify the services are running as intended with this command:sudo service mysql startIf you see no errors, this means MariaDB (which is a drop-in replacement for MySQL is running). You can log into MariaDB the same way you would with MySQL:mysql -u root -pAfter which, you will be prompted for the password for the MySQL root user. Learn more from our Cloud Server Hosting Product Guide. Experience full control over your server environment and deploy the best operating and management systems that fit your needs with our reliable Cloud VPS Hosting! Share this Article CM Christopher Maiorana Content Writer II Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog. More Articles by Christopher Related Articles How to Change Your Server SSH Port cPanel vs Other Web Hosting Control Panels How To Manage SSH Keys for Your Server Install Webmin on Ubuntu 20.04 How to Re-OS Your Cloud Server in AMP Choosing Vesta Control Panel How to Log into Webmin and Update Passwords Adding a User and Domain to Vesta Control Panel How to Add a BIMI Record on Cloud Server Hosting How to Install PHP on a Linux Cloud Server