php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16620 Ingres_II: Don't get two connects in one script
Submitted: 2002-04-15 09:57 UTC Modified: 2010-09-01 12:16 UTC
From: joerg dot schoppet at web dot de Assigned: grantc (profile)
Status: Closed Package: *General Issues
PHP Version: 4.2.1 OS: Win NT4/Win 2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joerg dot schoppet at web dot de
New email:
PHP Version: OS:

 

 [2002-04-15 09:57 UTC] joerg dot schoppet at web dot de
Hi,

I've tried to connect to two ingres dbs (ingres II 2.0) in one script (to make some compares).

One connect is no problem and everything works fine, but when the script wants to connect to the second db, I get a Error-Message from DrWatson (nothing else).

This all works fine with php 4.0.8dev, but in php 4.1.0 and now also in php 4.1.2 I get these error messages.

Hope this could help

Joerg schoppet

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-25 09:00 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2002-06-05 03:43 UTC] joerg dot schoppet at web dot de
Hi,

I want to try the ingres features in 4.2.1 like derick said. But now I see that the php_ingres.dll was removed from this version and I have nothing found in the changelog.

What's going on? Have php not anymore ingres-functions?

Joerg Schoppet
 [2002-06-05 04:12 UTC] mfischer@php.net
ext/ingriss_ii suffers from the same problem a few other db extension suffer: hey're internally hashing the credients for db accessing and re-use this hashes for every connection and therefore not allowing two connection to the same db.

Reclassifying as feature request, it should be an easy fix (as it was for ext/mysql)

Sidenote: it would be nice if we can get all db extensions to behave this way (afaik pgsql has the same problem, though I didn't checked this lately if it's still true).

Actually I can't tell why the dll is not in 4.2.1, Edink, do you know?
 [2002-06-05 05:01 UTC] joerg dot schoppet at web dot de
Hi,

ok, good explanation, but why did this work in php 4.0.8dev?

Joerg
 [2010-09-01 12:16 UTC] grantc@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues
 [2010-09-01 12:16 UTC] grantc@php.net
Mutiple connects are availible in the PECL ingres driver, see 
http://pecl.php.net/ingres for links on how to download and the current 
documentation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 11:01:33 2024 UTC