Home >Backend Development >PHP Tutorial > 数据库连接失败:mysql_error:Access denied for user 'root'@'localhost'解决思路

数据库连接失败:mysql_error:Access denied for user 'root'@'localhost'解决思路

WBOY
WBOYOriginal
2016-06-13 12:33:482159browse

数据库连接失败:mysql_error:Access denied for user 'root'@'localhost'
数据库连接失败:mysql_error:Access denied for user 'root'@'localhost' (using password: YES)

这个是怎么回事,这是要什么密码啊?
我装AppServ  在吧项目弄进去然后访问项目网站就出现这个错误。
访问phpMyAdmin是正常
(不是服务器是自己的电脑)
求大家帮忙,劲量详细点。对php只是了解

疑难杂症
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