#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
while configuring phpMyAdmin
Solution
changed
$cfg['Servers'][$i]['host'] = 'localhost';
to
$cfg['Servers'][$i]['host'] = '127.0.0.1';
in config.inc.php
NOTE: you may need to change php.ini also if your web application database connections are broken too
check this article : http://techtrouts.com/mac-mysql-does-not-connect-on-localhost-but-connects-on-127001/
Tweet