Report this

What is the reason for this report?

Maria DB installation in ubuntu

Posted on February 6, 2018

What is the procedure to install mariaDB in ubuntu 16.04?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

MariaDB can be installed with the following commands on Ubuntu 16.04

apt-get update;
apt-get install mariadb-server;

Follow the Process. Type:

sudo apt-get install mariadb-server mariadb-client

Do not miss to Secure your DB:

sudo mysql_secure_installation

Enter current password for root (enter for none): Just press the Enter Set root password? [Y/n]: Y New password: Enter password Re-enter new password: Repeat password Remove anonymous users? [Y/n]: Y Disallow root login remotely? [Y/n]: Y Remove test database and access to it? [Y/n]: Y Reload privilege tables now? [Y/n]: Y

Finally Restart you DB:

sudo systemctl restart mysql.service

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.