I find that the form specifying host is prone to taking long times to connect.
Set up your TNS names file approriately ($ORACLE_HOME/network/admin/tnsnames.ora) and use the form:
$dsn = "dbi:Oracle:$database";
In reply to Re: Oracle hangs at connect
by clscott
in thread Oracle hangs at connect
by DrManhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |