Home > Backend Development > PHP Tutorial > root 改了密码异常

root 改了密码异常

WBOY
Release: 2016-06-13 13:37:30
Original
960 people have browsed it

root 改了密码错误
第一次玩PHP ,多手用web 方式改了一下root 密码,再次启动 http://localhost/phpmyadmin/ 
出现 
MySQL 返回:文档
#1045 - Access denied for user 'root'@'localhost' (using password: NO) 

还要在哪里改启动phpmyadmin的密码才得呢?或者怎么才能重置回来?

------解决方案--------------------
phpmyadmin目录中 config.inc.php的$cfg['Servers'][$i]['password']这个应该
------解决方案--------------------
你先看看你mysql 能不能登录,如果可以的话 那么尝试看看修改 phpmyadmin的配置文件是否能够登录.
文件如上所描述,不过很不好说有效果。不行的话就删除掉重新配置一下phpmyadmin就是了。怕的是你把mysql的密码都给改了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template