phpmyadmin error #2002 cannot login to the mysql server

将 phpmyadmin 下的 config.inc.php


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

改成

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

你可能感兴趣的:(phpmyadmin error #2002 cannot login to the mysql server)