Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

teradata error, need help

Status
Not open for further replies.

Faroon

Programmer
Jun 16, 2003
46
CA
Hi everyone, my system is a Pentium 3 500MHz running OpenBSD3.3 and Perl 5.8.0. I have just installed Teradata 1.3 and tried to connect to a remote database using:

use DBI;
$dbh = DBI->connect("DBI:Teradata:my-database-host.com", "userid", "password");

and this is the error message I got at that connect line:

install_driver(Teradata) failed: DBD/Teradata.pm did not return a true value at (eval 1) line 3.

I have looked everywhere for an explaination to this error, but nobody seems to know. I have even used the Teradata 1.2, but same problem occured. Any help would be greatly appreciated. Thank you.
 
It's all cool now, I found the solution. It's either the security feature in OpenBSD 3.3 or something else that requires explicity declaration of Teradata driver usage. When I inserted this line in my code:

use DBD::Teradata;

It worked fine. Hope this helped other people with same problem. Thanks all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top