php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3801 PHP creates a new mysql connection for every mysql_pconnect call.
Submitted: 2000-03-10 14:33 UTC Modified: 2000-03-20 02:15 UTC
From: danbeck at mtginfo dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.14 OS: Linux 2.2.12 (Redhat 6.1)
Private report: No CVE-ID: None
 [2000-03-10 14:33 UTC] danbeck at mtginfo dot com
When using the mysql_pconnect call, PHP creates a new persistant connection to the database for every call.  Even though the calls are being made from the same PHP script, from the same web server to the same mysql server with the same username and password.  This has been happening since early versions of 3.0.x and possibly before that.  

FYI, I'm using mysqld version 3.22.27.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-20 02:15 UTC] rasmus at cvs dot php dot net
Unable to reproduce - this works fine for thousands of people.
Without more details and some sort of revelation on the user's end, there is no way we can do anything with this bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC