标签:
在装完Wampserver2.5后点击phpMyadmin我发现网页显示:
#1045 - Access denied for user ‘root‘@‘localhost‘ (using password: NO)
意思是我没有设置数据库密码。解决办法:找到wamp的安装路径,打开wamp——>apps——>phpmyadmin。找到config.inc.php文件
编辑 $cfg[‘Servers‘][$i][‘password‘] = ‘ ‘;在后面的单引号加上密码保存。重启wamp再打开phpMyadmin就好了。
phpMyadmin:#1045 - Access denied for user 'root'@'localhost' (using password: NO)
标签:
原文地址:http://www.cnblogs.com/myron-1/p/4992481.html