Home » Database » DB » Bug #2941
No Timeout on DB Connection !
Details
| Request #2941 | No Timeout on DB Connection ! |
|---|---|
| Submitted | 2004-12-10 10:57 UTC |
| From | catteau at yahoo dot com |
| Assigned | danielc |
| Status | Wont fix |
| Package | DB |
| PHP Version | Irrelevant |
| OS | Linux |
| 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);