(Fwd) Re: Cross-version DBD Oracle Connectivity for local SYSDBA connection



----- Forwarded message from Ron Warshawsky <ronwarshawsky@xxxxxxxxx> -----

Date: Mon, 26 Dec 2005 03:11:56 -0800 (PST)
From: Ron Warshawsky <ronwarshawsky@xxxxxxxxx>
Reply-To: Ron Warshawsky <ronwarshawsky@xxxxxxxxx>
Subject: Re: Cross-version DBD Oracle Connectivity for local SYSDBA connection

Dear Tim,



Please excuse me if this message is not welcome.



I would really appreciate if you can give me some advice in regards to the below question:



I am working on Perl application that needs to be able to work with multiple versions of Oracle
connecting locally (BEQ) to databases as SYSDBA:



Connect string is:



my $dbh=DBI->connect('DBI:Oracle:','/','',{ora_session_mode=>2, PrintError=> 0, RaiseError=> 0 } );



Currently, when DBD is build using 9i ORACLE_HOME, etc, it would connect okay to 9i database, but
would end up with the segmentation core dump, when trying to connect to 10g database (with the
ORACLE_HOME, LD_LIBRARY_PATH, etc set properly) - probably due to up-version compatibility issues.



When DBD is build using 10g ORACLE_HOME, etc, it would connect okay to 10g database, but would end up
with the â**OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.)â** error, when trying to connect
to 9i database - which is not expected, since 10g should be down-version compatible.



I run DBI level 4 traces and "straced" the execution, but was not able to get to the root cause.



The configuration is:



Server: Linux redhat 2.4.20-8

DB: Oracle 9.2.0.1 and 10.1.0.3.0

Perl 5.008006

DBI 1.47

DBD::Oracle 1.16



If this is something that you think would need substantial time to resolve, please let me know what
can be the cost for the consulting task?



Best regards,



Ron Warshawsky





----- End forwarded message -----
.



Relevant Pages

  • Secure connections to oracle
    ... Developing application to talk with Oracle 10g database from Windows platform. ... Connectivity will be used by application to connect to the Oracle DB ... Is the ODP .NET connection encrypted? ... User credentials will have to be 'hard-coded', which means that someone with access to the scripts will be able to extract the UserID/Password to connect to the database. ...
    (Security-Basics)
  • Re: DBI/DBD Oracle Connections
    ... > The Oracle ENV variables defined outside of perl are: ... > however, all subsequent OS calls from perl return failure, even though ... > Now if we connect to an Oracle database and provide the database name. ... > The DBD has been compiled against an Oracle 10.1.0.4 64 Bit database. ...
    (perl.dbi.users)
  • Re: Unspecified error: E-Fail (0x80004005)
    ... Why are you using OleDb? ... is the Oracle client installed? ... connectivity to your database from that machine? ... > We connected with OLEDBConnect to oracle database in a asp.net and C#. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: connectivity to Oracle
    ... and tables,i mean database is in oracle. ... RobinS wrote: ... Is your database Oracle? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ODBC
    ... My preference has always been to get the database vendor to provide the connectivity to use with .Net. ... I've done that with Oracle and it worked SO MUCH BETTER than the MS version. ... The beauty of .net is it allows the database to only be connected to for the length of time you need it. ... I'm quite worried that my use of Microsoft.Data.odbc.dll to connect to Teradata will impose application performance issuesby constantly connecting/disconnecting/connecting again etc. ...
    (microsoft.public.dotnet.languages.vb)