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

时间:2021-06-01 05:52:17
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即可,个人建议使用第二种。第一种弹出框看着很不爽   原文网址:http://blog.sina.com.cn/s/blog_88044ea3010191ez.html