Problem Description
I installed [LAMP][1] on [Ubuntu 12.04 LTS][2] (Precise Pangolin) and then set root password on [phpMyAdmin][3]. I forgot the password and now I am unable to login. When I try to change password through terminal I get:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
How can I fix this? I am unable to open LAMP, uninstall it or reinstall it.
[1]: http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29
[2]: http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_12.04_LTS_.28Precise_Pangolin.29
[3]: http://en.wikipedia.org/wiki/PhpMyAdmin
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?