If you get  #2002 Cannot log in to the MySQL server in phpMyAdmin

change

$cfg['Servers'][$i]['host'] = ‘localhost’;

to

$cfg['Servers'][$i]['host'] = ’127.0.0.1′;

Post By Dinesh (18 Posts)

Connect