脚本宝典收集整理的这篇文章主要介绍了在phpMyAdmin中登录时是否可以指定主机?,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
http://www.onlinehowto.net/config-multiple-servers-in-PHPmyadmin/1405 /* Single server config section */ $i++; /* Authentication tyPE */ $CFg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'dbsub'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['comPress'] = false; /* Select MysqLi if your server has IT */ $cfg['Servers'][$i]['extension'] = 'MysqL';
/* * Servers configuration */ $i = 0; /* * First server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'db'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['comPRess'] = false; /* Select MysqLi if your server has it */ $cfg['Servers'][$i]['extension'] = 'MysqL'; /* * Second server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'dbsub'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; /* Select MysqLi if your server has it */ $cfg['Servers'][$i]['extension'] = 'MysqL'; /* * Third server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ $cfg['Servers'][$i]['host'] = '@R_777_2358@s1'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; /* Select MysqLi if your server has it */ $cfg['Servers'][$i]['extension'] = 'MysqL'; $cfg['DisplayServersList'] = TRUE; /* * End of servers configuration
以上是脚本宝典为你收集整理的在phpMyAdmin中登录时是否可以指定主机?全部内容,希望文章能够帮你解决在phpMyAdmin中登录时是否可以指定主机?所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。