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 also facing same problem it will be occur if your mysql server
is not running by default it will again stop after some sec so you again run ($ sudo service mysql start
) command you can change if know.
for that use command
$ sudo service mysql start
(put user password if required because we use sudo
)
and then run
$ sudo mysql -u root -p (put user password if required )
now you got your database