修改libraries/config.default.phpphp
545行,添加服務器
$cfg['Servers']['2'] = $cfg['Servers'][$i];
$cfg['Servers']['2']['host'] = '192.168.1.200';
$cfg['Servers']['2']['user'] = 'test';
$cfg['Servers']['2']['password'] = 'test';test
要多個的話就再繼續添加配置
而後將該文件複製到phpmyadmin根目錄下面,更名爲config.inc.php便可出現多服務器的下拉菜單密碼
若是想不輸入密碼直接進入 將配置文件
$cfg['Servers'][$i]['auth_type'] = 'config'; 改成config便可,會按照該配置文件裏面的密碼自動進行匹配登錄word
$cfg['ServerDefault'] = 2;能夠制定默認登錄那個服務器,即上面的$i對應的值phpmyadmin