我安装了phpMyAdmin 4.4.8(最新版本),我configuration了一些MySQL主机,我可以连接到。
服务器在服务器列表中以$ cfg ['Servers'] [$ i] ['host']的值列出,我找不到在phpMyAdminconfiguration文件中configuration“描述string”的方法。
我知道我可以configuration一个DNS或一个/ etc / hosts项来为服务器分配一个自定义的名字,但是我希望使用一个更容易理解的描述(比如“Testing server”或“Production server”)。
你知道一个方法来configuration这个在phpMyAdmin?
非常感谢你!
再见
试试设置$cfg['Servers'][$i]['verbose']
$cfg['Servers'][$i]['verbose']types: string
默认值: ''仅在使用phpMyAdmin和多个服务器条目时才有用。 如果设置,则将在主页面的下拉菜单中显示该string,而不是主机名。 例如,如果您只想在系统上显示某些数据库,这可能很有用。 对于HTTP身份validation,所有非US-ASCII字符将被剥离。
参考: http : //docs.phpmyadmin.net/en/latest/config.html#server-connection-settings