#32116 [NEW]: mysql_connect() - client_flags broken
| From: | mstuhu at web dot de | Date: | Fri, 25 Feb 2005 22:09:13 +0000 |
| Subject: | #32116 [NEW]: mysql_connect() - client_flags broken | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-76705@lists.php.net to get a copy of this message | ||
From: mstuhu at web dot de
Operating system: Windows 2000
PHP version: 4.3.10
PHP Bug Type: MySQL related
Bug description: mysql_connect() - client_flags broken
Description:
------------
None of the function calls below does establish a compressed connection to
a remote mySQL 4.0.21 server:
mysql_connect($server, $user, $password, false, 32);
mysql_connect($server, $user, $password, false, MYSQL_CLIENT_COMPRESS);
mysql_connect($server, $user, $password, false, CLIENT_COMPRESS);
There's neither a performance boost using these calls nor is the
connection crippled (verified with Etherreal)
Interestingly establishing a compressed connection from a Linux box with
4.3.10 to the remote mySQL server works fine.
So I suppose there's a bug in the mySQL windows client libs which the
mysql_connect function relies on.
--
Edit bug report at http://bugs.php.net/?id=32116&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32116&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32116&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32116&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32116&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32116&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32116&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32116&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32116&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32116&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32116&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32116&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32116&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32116&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32116&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32116&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32116&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32116&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32116&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32116&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32116&r=mysqlcfg