Home  >  Article  >  Backend Development  >  mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localho解决方法

mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localho解决方法

WBOY
WBOYOriginal
2016-06-13 13:41:081009browse

mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localho
打开PHP文件 提示 “connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES)”

此问题如何解决 ,我用的是wampPHP集成环境 ,之前修改过root密码,但是一修改执行MY SQL都不能用了,也新建过一新用户,但还是不行,我的MY SQL是启动的。求答案?在线等 。。。

------解决方案--------------------
这种问题最快解决办法是重装

Statement:
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