in reply to DBI connect to IPv6
Your posted connect arguments lack the "dbi:" prefix and the name of the DBD. And if you had wrapped the connect statements in <code> tags, the version with brackets would show correctly. See Markup in the Monastery.
From the error messages I guess that you are using Oracle and DBD::Oracle.
Is there any reason why you don't let Oracle take care of selecting the protocol, host, port, SID, ...? Create a record in TNSNAMES.ORA for the database and use the name of that record instead of messing with host, sid, and port parameters. Did you check if your version of Oracle supports IPv6? 30 seconds using Google tell me that you need at least Oracle 11g to have IPv6 support.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI connect to IPv6
by daphnaw (Acolyte) on Mar 02, 2011 at 11:53 UTC | |
by afoken (Chancellor) on Mar 02, 2011 at 13:10 UTC | |
by daphnaw (Acolyte) on Mar 27, 2011 at 07:58 UTC |