phpmyadmin设置密码,不用登录直接进入
版权声明:本文为博主原创文章,未经博主允许不得转载。
1、config.sample.inc.PHP改为config.inc.php
2、加入或更改代码:
[php]
view plain
copy
- $cfg['Servers'][$i]['auth_type'] = 'config';
- $cfg['Servers'][$i]['user'] = 'root';
- $cfg['Servers'][$i]['password'] = '123456';
赞赏码
非学,无以致疑;非问,无以广识