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
Here's what worked for me:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock service mysql restart
This creates a link.