MySQL Forums
Forum List  »  PHP

Please help me with PHP
Posted by: Matjaz Toplisek
Date: August 29, 2005 03:11AM

I have code in PHP:
$dbh=mysql_connect ("localhost", "username", "PASSWORD") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("my file");

and it gives me an answer
Access denied for user.
As username has all PRIVILEGES, why it shows this?
Matjaz

Options: ReplyQuote


Subject
Written By
Posted
Please help me with PHP
August 29, 2005 03:11AM
August 29, 2005 03:19AM
August 29, 2005 05:35AM
August 29, 2005 08:13AM
August 30, 2005 10:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.