RE: DBI/DBD::Oracle and Oracle 10g



Might be useful to mention that we use DBI version 1.37 and DBD::Oracle
version 1.14.


_____

From: Dan Werner [mailto:daniel.werner@xxxxxxxxxxxxxxxx]
Sent: Thursday, May 25, 2006 4:36 PM
To: 'dbi-users@xxxxxxxx'
Subject: DBI/DBD::Oracle and Oracle 10g


Should it be necessary to recompile DBI and/or DBD::Oracle when upgrading
from Oracle 9.2.0.4.0 to 10.2.0.2.0?

Our DBA's recently did this upgrade, and since then, I've been unable to get
DBI working 100%. The lingering problem is that I cannot select character
fields. If I do "select varchar2_col from random_table" using DBI, I
receive back "ORA-03106: fatal two-task communication protocol error".
Doing "select sysdate from dual" works, as does "select sysdate,5 from
dual". However, doing "select sysdate,'a' from dual" gives a core dump.

I did a lot of searching on that ORA-03106, and the general consensus
appears to be that messing with NLS environment vars fixes the problem.
I've tried all sorts of combinations but haven't had any success. The vars
$NLS_LANG, $NLS_CHARACTERSET, $NLS_NCHAR_CHARACTERSET are usually blank for
me, but I tried setting them to values I found in the table
NLS_DATABASE_PARAMETERS, but it didn't work. Metalink says your're supposed
to use $ORA_NLS10 in 10g, instead of $ORA_NLS33 (of course!), and I tried
that but had no success.

By the way, this is on Solaris, and using sqlplus works fine. Any ideas?
Thanks for any help.

Dan


Relevant Pages

  • RE: oracle win2k ORA-1222 problems
    ... AS does not provide a package, but you can and should install both DBI and DBD::Oracle from ftp.esoftmatic.com. ... Oracle is listed as "failed" if I recall correctly. ... Data Source is DBI:Oracle:Space ...
    (perl.dbi.users)
  • RE: DBI problem
    ... I had Oracle 8 all along, I upgraded to ActiveState Perl 5.8.7 from ... DBD 1.16 and DBI 1.48. ... Did you install DBD::Oracle? ...
    (perl.dbi.users)
  • RE: (Fwd) DBD:: Oracle Problems
    ... The error is being thrown inside the pl/sql procedure itself not the DBI! ... Subject: DBD:: Oracle Problems ... are receiving the following error when we execute any stored procedures. ... This email has been scanned by the MessageLabs Email Security System. ...
    (perl.dbi.users)
  • Re: OCIEnvNlsCreate error with DBD::Oracle 1.21 and Oracle 10g client in Cygwin
    ... If not: you could reinstall DBI and DBD::Oracle and make sure that your Oracle environment is set correctly. ... If you have multiple Oracle installations: set your $ENVusing the ORACLE_HOME with which you compiled your DBD::Oracle. ... If you have multiple perl installations (with DBI, DBD::Oracle) you may have to set the correct path to perl (first line of your script). ...
    (perl.dbi.users)
  • RE: Unix: Oracle User Identified Externally
    ... Subject: Unix: Oracle User Identified Externally ... use DBI; ... intended recipient, please be aware that any disclosure, copying, distribution ... sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)