|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #33797 Multiple connections
Submitted: 2005-07-21 09:02 UTC Modified: 2020-09-27 19:16 UTC
Avg. Score:3.0 ± 2.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: gomar dot bijl at bu400 dot nl Assigned: cmb (profile)
Status: Duplicate Package: ODBC related
PHP Version: 5.0.3 OS: win2k
Private report: No CVE-ID: None
 [2005-07-21 09:02 UTC] gomar dot bijl at bu400 dot nl
Multiple connections to the same db is'n't possible.
As far as I have understood this is accepted in the documentation, but I consider it is as a bug. 
It is Quite commen that you want more than one connection to the same DB, isn't it.
E.G.: We need, at least two connections: One for de DB mutation in a  DB-transaction sequence (commit/Rollback) and a second connections for writing LOG-records. And you never want a ROLLBACK of an writen LOG-record.

I use MS-access, Oracle or DB2.

Reproduce code:

Expected result:
You can have several connections to the same DB. And so that can set up each connection differently. (e.g. With or without autocommit)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:11 UTC]
-Package: Feature/Change Request +Package: ODBC related
 [2020-09-25 13:36 UTC]
-Status: Open +Status: Verified
 [2020-09-25 13:36 UTC]
> Multiple connections to the same db is'n't possible.

 [2020-09-27 19:16 UTC]
-Status: Verified +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2020-09-27 19:16 UTC]
> TIL.

Well, not really, given that this is a duplicate of bug #22986.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Aug 19 20:03:35 2022 UTC