Skip to content

Install MariaDB in Ubuntu

Dr. M H B Ariyaratne edited this page Apr 26, 2020 · 5 revisions

First, update the system by following commands

sudo apt-get update

sudo apt-get upgrade

Install MariaDB

sudo apt install mariadb-server mariadb-client

sudo mysql_secure_installation

sudo mysql

GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

FLUSH PRIVILEGES;

exit;

Clone this wiki locally