in reply to Oracle hangs at connect
Anyway, my best guess for what to try is: drop the host=$host and the sid=$sid, and instead make your DSN just be: DBI:Oracle:$tnsname. That's what I always do.
Oh, and as to why this will work with one database and not with another... well, the different databases maybe differently configured on either your oranames server or on the sqlnet client's tnsnames.ora file.
update: that should be $ORACLE_HOME/network/admin/tnsnames.ora (and sqlnet.ora). Sorry, I typed too fast :-)
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Oracle hangs at connect
by DrManhattan (Chaplain) on Aug 09, 2004 at 16:59 UTC |