DBD::Oracle in this ancient ActivePerl version is actually quite broken and has it's share of problems with newer Oracle server versions (including random crashes when using it for long sessions). If been struggling with all kinds of odd behavior for years, now. When i upgraded to ActivePerl 5.12 and also installed the latest Oracle client, all (most) of the problems just vanished.

Can you connect to tha database using sqlplus? Does tnsping work? It's hard to give you more than generic advice without more information.

On a side note (my personal opinion): Always treat DBD::ODBC as a last-ditch attempt when there are better suited packages available. ODBC is very generic, most database specific optimization technics wont work, your software will be slow and you will hog quite a lot of resources on the database server if you are unlucky. Please don't make your database admin break into tears...


In reply to Re: Perl Module for Oracle DB Connection? by cavac
in thread Perl Module for Oracle DB Connection? by kgnickl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.