xampp安装完设置phpmyadmin登陆密码

2019-03-15

xampp安装完打开phpmyadmin管理后台,默认直接登陆进去了,都没有登陆的界面。如果需要显示登陆界面,需要做如下修改:

打开phpmyadmin文件夹内的config.inc.php文件,
修改这部分:
$cfg[‘Servers’][$i][‘auth_type’] = ‘config’; # 改为 $cfg[‘Servers’][$i][‘auth_type’] =’cookie’
$cfg[‘Servers’][$i][‘user’] = ‘root’;
$cfg[‘Servers’][$i][‘password’] = ”; # 改为 $cfg[‘Servers’][$i][‘password’] = ‘new_password’

发表评论

邮箱地址不会被公开。 必填项已用*标注