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

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

2、加入或更改代码:

[php]
  1. $cfg['Servers'][$i]['auth_type'] = 'config';  
      
    $cfg['Servers'][$i]['user'] = 'root';  
    $cfg['Servers'][$i]['password'] = '123456'; 
    

      

posted @ 2014-07-07 16:25  作乐  阅读(247)  评论(0)    收藏  举报