vi /phpmyadmin/libraries/config.default.php
$cfg['AllowArbitraryServer'] = true;
$cfg['Servers'][$i]['host'] = '';改为你服务器的ip地址
$cfg['Servers'][$i]['port'] = '';改为你服务器的端口
$cfg['Servers'][$i]['user'] = 'root';改为你服务器的用户名
$cfg['Servers'][$i]['password'] = '';改为你服务器的密码