Bug #69500 [Fbk->NoF]: mysqli_real_connect() and persistent connections

From: Date: Sun, 24 Oct 2021 04:22:13 +0000
Subject: Bug #69500 [Fbk->NoF]: mysqli_real_connect() and persistent connections
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237344@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69500&edit=1

 ID:               69500
 Updated by:       php-bugs@lists.php.net
 Reported by:      samuele dot diella at gmail dot com
 Summary:          mysqli_real_connect() and persistent connections
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          MySQLi related
 Operating System: Linux
 PHP Version:      Irrelevant
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-10-13 13:16:54] cmb@php.net

Is this still an issue with any of the actively supported PHP
versions[1]?  If so, which SAPI do you use?  And which library do
you use – mysqlnd or libmysql-client?

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[2015-04-23 09:11:10] samuele dot diella at gmail dot com

It seems other peoples exeprienced this

https://github.com/facebook/hhvm/issues/3414

look janveldhuis second comment

------------------------------------------------------------------------
[2015-04-21 23:14:07] samuele dot diella at gmail dot com

Description:
------------
when using mysqli_real_connect() prepending "p:" for peristent connections, new ones are
created every time instead of getting them from the pool, according to what is shown by phpinfo on
"Active Persistent" entry.

If i switch the code to use mysqli_connect(), everything works like a charm.

Tested on many php versions (til 5.5.23).



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=69500&edit=1


Thread (4 messages)

« previous php.bugs (#237344) next »