phpmyadmin设置密码,不用登录直接进入

版权声明:本文为博主原创文章,未经博主允许不得转载。

1、config.sample.inc.PHP改为config.inc.php

2、加入或更改代码:


  1. $cfg['Servers'][$i]['auth_type'] = 'config';  
  2.   
  3. $cfg['Servers'][$i]['user'] = 'root';  
  4. $cfg['Servers'][$i]['password'] = '123456'; 
原文地址:https://www.cnblogs.com/lxwphp/p/15455273.html