Bug #16285: mysql connection uses bogus hostname
| From: | x at psynchro dot org | Date: | Tue, 26 Mar 2002 12:59:34 +0000 |
| Subject: | Bug #16285: mysql connection uses bogus hostname | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3375@lists.php.net to get a copy of this message | ||
From: x@psynchro.org
Operating system: Linux 2.4.7-10
PHP version: 4.1.2
PHP Bug Type: MySQL related
Bug description: mysql connection uses bogus hostname
[This is actually a 4.2.0rc1 issue, but there isn't an option for that in
the dropdown]
When connecting to mysql with php 4.2.0rc1, having specified 'localhost'
as the hostname, 'localhost.localdomain' is actually passed to the mysql
server. (Reported in both the error message, and the mysql log.)
This behaviour was seen initially when attempting to use ACID and
phpMyAdmin.
After reversion back to php 4.1.2, however, 'localhost' is again passed as
expected.
config args: --with-mysql --with-imap --with-kerberos --with-apxs
--with-imap-ssl --with-gd
--
Edit bug report at http://bugs.php.net/?id=16285&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16285&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16285&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16285&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16285&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16285&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16285&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16285&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16285&r=submittedtwice