PHP 4.0 Bug #9812: Connection to a MySQL DB
| From: | llevier at argosnet dot com | Date: | Sat, 17 Mar 2001 20:46:01 +0000 |
| Subject: | PHP 4.0 Bug #9812: Connection to a MySQL DB | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49249@lists.php.net to get a copy of this message | ||
From: llevier@argosnet.com
Operating system: Linux RH 6.2
PHP version: 4.0.4pl1
PHP Bug Type: MySQL related
Bug description: Connection to a MySQL DB
mysql_connect("localhost","user","")
report an error that should not exist:
SQL Server error, cannot select databaseAccess denied for user: '@localhost' to database
xxx
@localhost ? shouldn't it be user or user@localhost?
--
Edit Bug report at: http://bugs.php.net/?id=9812&edit=1