MySQL的问题!

MySQL的问题!


Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /home/httpd/htdocs/php/db.php3 on line 35

Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/htdocs/php/db.php3 on line 67

这是什么原因????是不是我的MySQL不能让每一个用户访问???怎么办呢?      
原因是因?你connect MySQL??有?入密瘁...

用 mysql_connect("localhost","root","yourpasswordhere");

但我提阻你在MySQL (database) 中的user(Table)insert 一?新User 供PHP用...

command
1) " insert into user values ('localhost','userhere',password('passwordhere'),'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');

2) flush privileges (消除cache, ?韵定生效)

希望你成功....