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 ?自动登录
原文地址:https://www.cnblogs.com/tjb0808/p/9167560.html