Search for:
Install MariaDB 10+

Step 1 :- sudo apt update

Step 2 :- sudo apt install mariadb-server

Step 3 :- sudo systemctl start mariadb.service

Step 4 :- sudo mysql_secure_installation

then press Y set new password press Y,Y,Y

Set User and Password

Step 5 :- sudo mariadb

Then run This command

GRANT ALL ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘Use last password‘ WITH GRANT OPTION;



sudo systemctl status mariadb