FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Help...phpMyAdmin trouble

 


MWANGI
I have built a whole reporting system using php that works excellently on localhost but when I upload the damn thing, it refuses to connect to the database.

I have checked that the username and password are correct but the damn thing keeps snobbing me by giving me this error message

Code:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user: 'root@localhost' (Using password: NO) in /home/ewater/www/www/water_php/db_mysql.php on line 97
Database error: cannot connect to Database Access denied for user: 'root@localhost' (Using password: NO)
MySQL Error
Session halted.


Even though I use another usename and password apart from root. It still snobs me.Please Help!!
Ducksteina
Code:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user: 'root@localhost' (Using password: NO) in /home/ewater/www/www/water_php/db_mysql.php on line 97
Database error: cannot connect to Database Access denied for user: 'root@localhost' (Using password: NO)
MySQL Error
Session halted.

"(Using password: NO)"
It says you are not using a password at all. That's why you can't connect.
DanielXP
Wrong password as it says no or you may of left the field blank!
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.