RE: [PHP-DB] Connecting to MySQL
| From: | Jonathan Hilgeman | Date: | Thu, 21 Jun 2001 17:35:52 +0000 |
| Subject: | RE: [PHP-DB] Connecting to MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9701@lists.php.net to get a copy of this message | ||
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