Re: Connecting to MySQL
| From: | Keith Whyman | Date: | Fri, 22 Jun 2001 06:46:24 +0000 |
| Subject: | Re: Connecting to MySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9717@lists.php.net to get a copy of this message | ||
Thanks everyone for the help !
Discovered the problem !
My provider had changed the name of the host, without telling anyone !
ahhh the sort of thing that makes life fun ! :-)
> Sounds like either:
>
> 1) You don't have your correct username/password info in the mySQL/user
> table
> or
> 2) Your server is bound to an IP address or something (a frequent problem
on
> Win machines, but it looks like you're using Linux or something)
>
> The localhost part isn't really the username that is being sent. It simply
> appends the @localhost so you can see where you're connecting to. I would
> check the users table in the mysql database.
>
> - Jonathan
>
> -----Original Message-----
> From: Keith Whyman [mailto:k.whyman@bf-72.de]
> Sent: Thursday, June 21, 2001 7:52 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Connecting to MySQL
>
>
> Can anyone help with this problem !
> user name should just be keith but the @localhost gets added and then I
> can't connect ???
>
> Warning: MySQL Connection Failed: Access denied for user:
'keith@localhost'
> (Using password: YES) in /usr/var/www/www.happy.de/html/cms/test.php on
line
> 23
> Problem connecting to DataBase
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>