1首先在phpmyadmin安装目录下找到config.sample.inc.php复制一份文件名改为config.inc.php
2打开config.inc.php 找到 cfg[‘Servers’][i][‘auth_type’],将其改为
[html] view plain copy
cfg[‘Servers’][i][‘auth_type’] = ‘config’;
3在下面添加一些代码,phpmyadmin的用户名和密码
[html] view plain copy
cfg[‘Servers’][i][‘uer’] = ‘root’;
cfg[‘Servers’][i][‘password’] = ‘root’;
自动登录设置成功
取消自动登录
将cfg[‘Servers’][i][‘auth_type’]值改为原来的既cookie
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/113559.html原文链接:https://javaforall.cn