I installed LAMP on Ubuntu 12.04 LTS (Precise Pangolin) and then set root password on phpMyAdmin. I forgot the password and now I am unable to login. When I try to chan
I FOUND THE SOLUTION
Before firing the command : mysql_secure_installation
mysql_secure_installation
sudo systemctl stop mariadb
sudo systemctl start mariadb
Then it will ask root password and you can simply press Enter and set your new root password.