Brethren;

I'm trying to connect to a Teradata database using Perl DBI from a UNIX aix box. I can connect from my Windows
box via ODBC with no problem. Therefore, I know my userid can connect and run SQL with no errors.
I have perl-5.12.2, DBI 6.51, DBD-Teradata 12.001, DBD-Teradata-Cli-12.001 and cliv2_AIX_POWER.13.10.008
installed on a UNIX box running AIX 6.1 trying to connect to a Teradata database version 13.10.03.03
code is as follows

use DBI; use DBD::Teradata; use DBD::Teradata::Crypt; use DBD::Teradata::Diagnostic; use DBD::Teradata::GetInfo; use DBD::Teradata::PMAPI; use DBD::Teradata::TypeInfo; use DBD::Teradata::Utility; use Time::HiRes qw(time); my $dbh = DBI->connect("DBI:Teradata:$tdbc:1025", $db_user, $db_passwd, {PrintError => 0 }); if ($DBI::err){ print "\nEIS-430 Error connecting to $db_name \n DBI Err: $DBI::err +str \n"; exit -1; } else { print "\nConnected to database $db_name ..\n"; } exit 0;

I get the following error

DBI Err: Deprecated logons are not allowed. Upgrade client software to latest version.

I don't know if my cliv is not the correct one
or my userid and password are not being encrypted
or there is another problem. Any suggestons?


In reply to Unable to connect to Teradata via Perl DBI and DBD-Teradata by Anonymous Monk

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.