Perl Teradata
"Buehre, Joseph R" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <E9CAB2E420BEE942A79AADF93F06F83C38A6872D@XCH-PHX-502.sw.nos.boeing.com> |
Good Morning,
I am looking for help to solve my problem with the Perl DBD::Teradata install 1.52. After a successful, error free, build and install I get the follow message when trying to make a connection. I can guarantee you the host is ping-able and exists. Any help would be greatly appreciated.
DBD Terdata version 1.52
Teradata Client 15.00
Redhat verion 6.5
Error:
DBI connect(myHost;database=thedatabase','info',...) failed: Unable to get host address. at ./test_teradata.pl line 23.
Can't call method "prepare" on an undefined value at ./test_teradata.pl line 26.
Connect syntax:
my $tdh = DBI->connect("dbi:Teradata:$SERVER;database=$DEFAULTDB",$USERNAME,$KEY,
{ RaiseError => 0, tdat_mode => 'ANSI' }
);
Environment variables set:
TD_ICU_DATA=/opt/teradata/client/15.00/tdicu/lib64
COPLIB=/opt/teradata/client/15.00/lib64
COPERR=/opt/teradata/client/15.00/lib64
Thanks,
Joseph (Joe) R. Buehre
Business Hours Phone: 314-791-9725
MOn - Fri 5:30 - 2:00 PM CDT