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 think whenever you get the error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
I will recommend first to check whether your mysql
daemon is running... Most of the time it will not running by default. You can check it by /etc/init.d/mysqld status
.
If it's not running then start it first:
.../etc/init.d/mysqld start.
I bet it will 110% work.