Here's what lines 9-11 look like:
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
echo "Has connected to database $database\ n";
Above it, I have variable declarations for $host, $username, and
$password.
</snip>
This error message is pretty self-explanatory. Either the username/password combo is not correct, or this user isn't allowed to log in from this location (i.e. 'tgsstaff' can log in from localhost, but not anywhere else, like 38.144.80.29). Double-check that your username and password are stored correctly in your $username and $password variables. Then make sure you log into the MySQL server and enable your user to log in from the IP address of the webserver.
good luck,
-Nick
[Non-text portions of this message have been removed]
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
SPONSORED LINKS
| Php mysql | Job postings |
YAHOO! GROUPS LINKS
- Visit your group "php-list" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
