首页 / 数据库 / MySQL / phpMyAdmin访问被拒绝
我的php环境是WAMP,并且以前已经配置妥当,已经使用一段时间。昨天我看到在phpMyAdmin里面的权限下设置密码的文章,我就在权限下把原来的NO passwor(默认),修改为有password为1234,并且点击执行按钮成功执行.但是后来我再次进入时,却提示Probably reason of this is that you did not create configuration file. You might want touse setup script to create one.错误MySQL 返回:#1045 - Access denied for user "root"@"localhost" (using password: YES)补充:我以前的链接库的密码就是1234,我现在想在登录phpMyAdmin主页时能提示输入密码,所以才进行设置的。但是现在却不能进入啦。并且在dos下使用命令行也在在键入密码时提示错误。解决办法:把config.inc.php删除就可以,或者修改config.inc.php里的$cfg["Servers"][$i]["controluser"] = "";$cfg["Servers"][$i]["controlpass"] = "";注释掉就会弹出来要求登陆。推荐阅读:Ubuntu 13.04 安装 LAMPVsftpdWebminphpMyAdmin 服务及设置 http://www.linuxidc.com/Linux/2013-06/86250.htmLAMP架构协同应用的实例——phpMyAdmin http://www.linuxidc.com/Linux/2013-07/87645.htmLAMP应用之phpMyAdmin、Wordpress http://www.linuxidc.com/Linux/2013-04/82757.htmphpMyAdmin老出现登陆超时解决方法 http://www.linuxidc.com/Linux/2012-09/70715.htmUbuntu 安装phpMyAdmin与Adminer http://www.linuxidc.com/Linux/2012-08/69419.htm在LAMP基础上实现SSL功能并安装phpMyAdmin http://www.linuxidc.com/Linux/2012-07/66905.htmphpMyAdmin 的详细介绍:请点这里
phpMyAdmin 的下载地址:请点这里本文永久更新链接地址