Hello, I am trying to run a perl JDBC script, but am running into the error:
DBI connect('hostname=172.28.130.20;port=1025;url=jdbc:teradata://172. +28.130.20/;databaseName=NDW_JRNL_VIEWS','pMalle001',...) failed: Expe +cting tag 0x73875f, found 0x3 at C:/Strawberry/perl/site/lib/Convert/ +BER.pm line 379. ...propagated at C:/Strawberry/perl/site/lib/Convert/BER.pm li +ne 798. at JDBC-ConnectionTestNewNewest.pl line 15. Database connection error: Expecting tag 0x73875f, found 0x3 at C:/Str +awberry/perl/site/lib/Convert/BER.pm line 379. ...propagated at C:/Strawberry/perl/site/lib/Convert/BER.pm li +ne 798.
Here is my code:
use DBI; use JDBC; $user="xxxx"; $password="xxxx"; $url = "jdbc:teradata://172.28.130.20/;databaseName=NED_BASE_VIEWS"; $url =~ s/([=;])/uc sprintf("%%%02x",ord($1))/eg; print $url; $dbh = DBI->connect("dbi:JDBC:hostname=172.28.130.20;port=1025;url=jdb +c:teradata://172.28.130.20/;databaseName=NDW_JRNL_VIEWS", $user, $pas +sword);
In reply to On Windows I am trying to run a perl JDBC script, but am running into the error Expecting tag 0x73875f by mallett76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |