Solution :

Path : \wamp\apps\phpmyadmin3.3.9\config.inc.php file

search for
$cfg[‘Servers’][$i][‘socket’] = ”;

change to
$cfg[‘Servers’][$i][‘socket’] = ‘/var/lib/mysql/mysql.sock’;

next line
$cfg[‘Servers’][$i][‘connect_type’] = ‘tcp’;

change to
$cfg[‘Servers’][$i][‘connect_type’] = ’socket’;

If this doesn’t fix the issue, make sure Mysql is running on your server and you have a symlink for mysql.sock under /tmp. To create a symlink, execute: