#2002 PHPMYADMIN, aaargh! Finally Solved
I tried out all most each and every step on stackoverflow. Finally I was able to to debug the error. Well what does Error#2002 says, The server is not responding (or the local MySQL server’s socket is not correctly configured)
Some solutions suggested sytem reboot, clearing browser’s cache and bla bla. None of them seemed to work.
Finally, I realized that I installed an older version of MySQL 5.5 (for some Project), and MySQL server was running accepting connections via UNIX sockets and phpMyAdmin was trying to connect via TCP connections. So the solution was to specify UNIX sockets at phpMyAdmin end.
How to check what connection your MySQL server is accepting:
Login into MySQL via CLI using
and then in MySQL terminal
gave output as
Now configue phpMyAdmin to connect via UNIX sockets :
Open phpmyadmin config file, which ‘should’ be at following location
here you need to specify about the connection method, add following lines
Unfortunately this wasn’t enough, and I had to add some obvious thing
And finally it worked.comments powered by Disqus