关于php集成环境mysql wamp 修改密码后phpMyAdmin拒绝访问解决办法

1. 将wamp\apps\phpmyadmin3.4.9\config.inc.php 
   $cfg['Servers'][$i]['auth_type'] = 'config'; 
   $cfg['Servers'][$i]['password'] = '';

   修改为
   $cfg['Servers'][$i]['auth_type'] = 'http'; 
   $cfg['Servers'][$i]['password'] = 'your_passwd';

2.将wamp\apps\phpmyadmin3.4.9\config.inc.php  
   $cfg['Servers'][$i]['password'] = '';
   修改为
   $cfg['Servers'][$i]['password'] = 'your_passwd';
   然后将wamp\apps\phpmyadmin3.4.9\libraries\config.default.php
   $cfg['Servers'][$i]['password'] = ''; (大概在200行左右)
   修改为
   $cfg['Servers'][$i]['password'] = 'your_passwd';

改好后重启wamp即可,个人建议使用第二种。第一种弹出框看着很不爽

你可能感兴趣的:(php,wamp,it,phpmyadmin)