原因是:沒有配置MySQL數據庫密碼。
1.打開D:\wamp\apps\phpmyadmin x.xx找到config.inc.php。
修改並保存:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'MySQL密碼';
2.重啟wamp即可訪問。
詳細介紹請查看全文:https://cnblogs.com/qianzf/
原文博客的鏈接地址:https://cnblogs.com/qzf/