2012-01-02 16:54:13 0 评论 PHP Boy.Lee

phpMyAdmin #2002 登录错误

{#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)}

nano /xxxx/config.inc.php

//下面2选1

$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';

or

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