install mysql mariadb ubuntu 18.04 code example
Example 1: install mariadb 10.2 ubuntu 16.04
sudo apt update
sudo apt install mariadb-server
Example 2: mariadb install on ubuntu 20.04
GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;