In the file ../phpMyAdmin/config.inc.php, change the line
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
to
$cfg['Servers'][$i]['host'] = '127.0.0.1'; // MySQL hostname or IP address
Explanation: MySQl and the SQL client in the first case use the socket.
The change forces to use TCP.