Re: db connect probs

From: Date: Wed, 15 Jan 2003 04:31:10 +0000
Subject: Re: db connect probs
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24842@lists.php.net to get a copy of this message
do you have any idea why the following(line 106)would return the following error message ? the login.php has an included form to create an account and that is what will not connect. $connection = mysql_connect($host, $user,$password) //this is line 106 Warning: Access denied for user: 'x,@host' (Using password: YES) in /users/infoserv/web/register/login.php on line 106 Warning: MySQL Connection Failed: Access denied for user: 'x,@host' (Using password: YES) in /users/infoserv/web/register/login.php on line 106 Couldn't connect to server.
You can take this one at face value: that combination of username, password, and host does not have permission from MySQL to access the database. First, verify what information is being used to connect. Then, if you can, confirm these values by logging into MySQL another way (e.g., through the mysql client). If you just added these permissions, be sure to reload the permissions before logging in. Larry

« previous php.db (#24842) next »