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