这是我连接远程服务器的配置
$cfg['Servers'][$i]['host'] = '<IP>';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['socket'] = '/var/run/mysqld/mysqld.sock';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'pass';
1)端口3306对所有流量开放。
2)尝试清除cookie
3)尝试重启apache
我仍然收到此错误消息
#2002 - Connection refused
The server is not responding (or the local server's socket is not correctly configured).