(phpmyadmin)如何更改远程服务器的$cfg['Servers'][$I]['host']?

(phpmyadmin)如何更改远程服务器的$cfg['Servers'][$I]['host']?,phpmyadmin,php-5.3,Phpmyadmin,Php 5.3,我认为phpmyadmin index.php在执行时称为config.inc.php 所以我尝试了config.inc.php 然后像这样调用url http://localhost/index.php?test=211.212.14.11 但我得到了显示主机错误和不工作。 我该怎么做?与其使用GET here(由phpMyAdmin清理),正确的语法是将IP地址或主机名直接放入指令中,例如$cfg['Servers'][$I]['host']='192.168.5.6';或者$cfg['S

我认为phpmyadmin index.php在执行时称为config.inc.php

所以我尝试了config.inc.php

然后像这样调用url

http://localhost/index.php?test=211.212.14.11
但我得到了显示主机错误和不工作。
我该怎么做?

与其使用GET here(由phpMyAdmin清理),正确的语法是将IP地址或主机名直接放入指令中,例如$cfg['Servers'][$I]['host']='192.168.5.6';或者$cfg['Servers'][$i]['host']='db.example.com'

如果您希望能够在登录时定义任意主机,请在设置为true时查看指令,您可以在登录页面上输入任何服务器

http://localhost/index.php?test=211.212.14.11