# update package and install sudo apt update sudo apt install mariadb-server mariadb-client sudo mysql_secure_installation sudo mysql -u root -p # system will ask 2 password # 1 linux user password # 2 mysql root password