#32116 [Opn->Asn]: mysql_connect() - client_flags broken

From: Date: Sun, 27 Feb 2005 22:33:48 +0000
Subject: #32116 [Opn->Asn]: mysql_connect() - client_flags broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74660@lists.php.net to get a copy of this message
ID: 32116 Updated by: sniper@php.net Reported By: mstuhu at web dot de -Status: Open +Status: Assigned Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 4.3.10 -Assigned To: +Assigned To: sniper Previous Comments: ------------------------------------------------------------------------ [2005-02-27 14:42:05] sniper@php.net Looks a lot like the whole compression thingie is disabled for windows for some reason: config-win.h:/* #define HAVE_COMPRESS -- not with PHP, please */ ------------------------------------------------------------------------ [2005-02-25 23:09:12] mstuhu at web dot de 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 this bug report at http://bugs.php.net/?id=32116&edit=1

« previous php.bugs (#74660) next »