cliff
|
Posted: 05/29/2005, 5:52 AM |
|
Hi There,
Just getting started with trial version and am trying to connect to an online mysql database, I follow the tutorial and everything seems to go fine, but when I try to view the page in a browser i get:
Warning: mysql_pconnect(): Access denied for user: 'cliff360_auction@localhost' (Using password: YES) in d:\easyphp1-7\www\test\db_mysql.php on line 99
Database error: pconnect(:3306, cliff360_auction, $DBPassword) failed.
MySQL Error: 0 ()
Session halted.
I edited the db_mysql file to include my connectio details but for some reason the user parameter is passed as 'cliff360_auction@localhost' ad not 'cliff360_auction, can anybody help?
Regards,
Cliff....
|
|
|
peterr
Posts: 5971
|
Posted: 05/29/2005, 11:26 AM |
|
Cliff,
"cliff360_auction" is passed OK, only your MySQL database shows that the access is denied for this user connecting from localhost. This is normal and you can see that everyone will get the same error when they are denied the access from localhost: http://www.google.com/search?hl=en&q=%22Warning%3A+mysq...er%22+localhost
I recommed that you do not edit db_mysql as there cannot be anything wrong with it. Just delete the whole file and it will be re-generated when you publish your project again. The message is clear that your database doesn't allow you to connect. See: http://dev.mysql.com/doc/mysql/en/access-denied.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|