Skp123 has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to connect to teradata in perl (version 5.16) . Our server is Red hat Linux 7.0. Here are the modules I have -
Perl : 5.016003 (x86_64-linux-thread-multi)
OS : linux (2.6.32-642.13.1.el6.x86_64)
DBI : 1.627
DBD::Teradata : 12.001
DBD::Sponge : 12.010002
DBD::Proxy : 0.2004
DBD::ODBC : 1.50
DBD::LocalLogProxy: 1
DBD::Gofer : 0.015326
DBD::File : 0.41
DBD::ExampleP : 12.014310
DBD::DBM : 0.08
I am getting deprecated logon in the below connect ( I am using DBI:Teradata) - Please let me know how to fix this.
my $conn = DBI->connect('dbi:Teradata:xxxx',xxx,xxx);
Re: Perl - deprecated logon
by davido (Cardinal) on Apr 27, 2018 at 03:47 UTC
|
Known issue: The module is not compatible with your Teradata (whatever that is).
It should come as no surprise I haven't worked with a Teradata before. Here's how I arrived at an answer:
- Grep the code. Look for that error message in the modules you're consuming. For that matter, look for that error message in the paths found in your Perl's @INC. Here's one way for if you have the modules installed on your system: grep -rin 'deprecated logon' $(perl -E 'say for @INC'). I do not have those modules all installed, so I used GREP::CPAN to rule-out the Perl libraries. This isn't foolproof, but it's a good start.
- Since that turns up nothing there's a strong possibility that the message isn't coming from Perl, and is coming from this Teradata thing. So now you can search the Internet for "Teradata deprecated logon". Surprisingly the first page of search results turned up Need to test deprecated login. And that page brought me to Known issue.
| [reply] [d/l] [select] |
|
| [reply] |
|