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
Try this:
mysql -h 127.0.0.1 -P 3306 -u root -p
Also (to see if it's running):
telnet 127.0.0.1 3306
Probably it is just a misconfiguration in the my.cnf file, in /etc/somewhere (depending on the Linux distribution).
my.cnf
/etc/somewhere