PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #2941

No Timeout on DB Connection !

Details

Request #2941No Timeout on DB Connection !
Submitted2004-12-10 10:57 UTC
Fromcatteau at yahoo dot com
Assigneddanielc
StatusWont fix
PackageDB
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-12-10 10:57 UTC] catteau at yahoo dot com

Description:
------------
I use Pear DB to connect to over 100 Oracle databases. My problem is that when one of those DB is down, DB::Connect hangs because, to my knowledge, there is no timeout option setable for the connection.

PS : sorry i don't know which version of DB I use, but no timeout for connection is discussed in the manual, so I think this request is a feature request.

Reproduce code:
---------------
$dsnmag="oci8://".$username.":".$password."@".$host;
$db[$server[$i]['SERVER_ID']]=DB::Connect($dsnmag,false);