php初学者有关问题

WBOY
Release: 2016-06-13 13:28:22
Original
802 people have browsed it

php菜鸟问题
我用的是win7系统的 我安装了那个AppServ的集成包,我把一个数据库成功导进了phpmyadmin里面了,可是想访问某个页面是出现这样的错误

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\AppServ\www\Guest\conn.php on line 6
链接错误

我确定那个mysql已经启动的了 



------解决方案--------------------
通常是这个页面require('conn.php')的路径错误,检查这个页面和conn.php的相互路径。
------解决方案--------------------
看conn.php/config.php之类的公共配置。
验证数据库用户密码是否正确。


------解决方案--------------------
连接数据库的密码错误啦,
------解决方案--------------------
密码错误。
------解决方案--------------------
检查路径~~~

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