|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60354 MYSQL_CLIENT_COMPRESS in php.ini
Submitted: 2011-11-22 03:02 UTC Modified: 2017-10-24 08:08 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 2 (0.0%)
From: spamik at yum dot pl Assigned:
Status: Open Package: MySQLi related
PHP Version: 5.3.8 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: spamik at yum dot pl
New email:
PHP Version: OS:


 [2011-11-22 03:02 UTC] spamik at yum dot pl
Using or not using mysql compression (or encryption) is a administrative decision, 
not decision that should be left for programmer as he usualy has no idea what is 
mysql configuration, what storage does it use and quite often this programmer just 
writes genuine aplications.
default for compression in mysql client (MYSQL_CLIENT_COMPRESS) should be settable 
in php.ini

This would also to permanent connections but You made it into two diffrent 
commands so it would be more difficult.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-06 01:39 UTC]
-Assigned To: +Assigned To: mysql
 [2012-03-06 01:39 UTC]
I'm not sure I agree. For compression the developer should know what data to expect. Encryption should be configured alongside with host/user/password which usually happens in the application.
Having more places overriding each others makes it hard to figure out which settings arebeing used in the end.
 [2012-03-20 09:41 UTC]
I do not agree on the statement developers write genuie applications. Native interfaces are there to get most out of a specific interface/library from a specific application. As there is no security concern or severe performance impact, developer shall have full control. There's no need to differ from the logic of the underlying C library to ensure somewhat consistent behaviour among the same family of interfaces/libraries of a specific vendor.
 [2014-02-25 14:22 UTC]
-Package: MySQL related +Package: MySQLi related
 [2014-02-25 14:22 UTC]
For ext/mysql it is certainly out of question. No updates for that one.
 [2017-10-24 08:08 UTC]
-Status: Assigned +Status: Open -Assigned To: mysql +Assigned To:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 01:01:31 2024 UTC