I\'ve been trying to set mysql and phpMyAdmin for the last 12 hours, without any success. And yes, after hours and hours of Google-ing I know that is a common problem and I\
Check the config file:
/* $cfg['Servers'][$i]['host'] = 'localhost'; */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['compress'] = false;
Restart MySQL:
OSx : sudo /usr/local/mysql/support-files/mysql.server restart
Linux: sudo service mysql start
(Old linux: sudo /etc/init.d/mysql start)