phpadmin 自动登录

Posted tjb0808

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpadmin 自动登录相关的知识,希望对你有一定的参考价值。

1.自动登录

phpadmin文件中找到config.inc.php或者libraries/config.default.php;

config.inc.php中配置信息会覆盖libraries/config.default.php;

$cfg[‘Servers‘][$i][‘host‘] = ‘localhost‘;//服务器ip

$cfg[‘Servers‘][$i][‘auth_type‘] = ‘cookie‘;//账号密码登录
//$cfg[‘Servers‘][$i][‘auth_type‘] = ‘config‘;//自动登录

将$cfg[‘Servers‘][$i][‘port‘] = ‘‘;服务器的端口

$cfg[‘Servers‘][$i][‘user‘] = ‘用户名‘; // 设置的mysql用户名

$cfg[‘Servers‘][$i][‘password‘] = ‘密码‘; // 设置的mysql密码

2.允许访问远程服务器

libraries/config.default.php;中

//$cfg[‘AllowArbitraryServer‘] = false;
$cfg[‘AllowArbitraryServer‘] = true;

 



以上是关于phpadmin 自动登录的主要内容,如果未能解决你的问题,请参考以下文章

配置好Apache环境包之后,phpadmin进不去,config.inc.php文件都配置好了,登录名和密码都正确。

phpadmin创建自动更新

phpadmin登录报错:#1045 - Access denied for user 'root'@'localhost' (using password: yes)

C# winform webbrowser 自动登录网站?

有没有自动登录器,可以自动登录12306的,

怎么能在网页自动登录,然后点击修改某个页面,这样循环多个账号