From: [EMAIL PROTECTED]
Operating system: Redhat 7.2
PHP version: 4.2.0
PHP Bug Type: MySQL related
Bug description: mysql_connect maps localhost to localhost.localdomain
It happens in 4.2.0, not 4.1.2.
mysql_connect("localhost", "username", "password") maps the host from
"localhost" to "localhost.localdomain".
It results "Warning: Host 'localhost.localdomain' is not allowed to
connect to this MySQL server in /blah/blah/blah/db_connect.php on line
N".
Current resolution: Grant localhost.localdomain in MySQL.
--
Edit bug report at http://bugs.php.net/?id=16741&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16741&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16741&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16741&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16741&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16741&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16741&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16741&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16741&r=submittedtwice