mallett76 has asked for the wisdom of the Perl Monks concerning the following question:
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: On Windows I am trying to run a perl JDBC script, but am running into the error Expecting tag 0x73875f
by Corion (Patriarch) on Dec 06, 2023 at 16:42 UTC | |
by mallett76 (Beadle) on Dec 07, 2023 at 15:51 UTC | |
|
Re: On Windows I am trying to run a perl JDBC script, but am running into the error Expecting tag 0x73875f
by Discipulus (Canon) on Dec 07, 2023 at 08:29 UTC | |
by mallett76 (Beadle) on Dec 08, 2023 at 19:19 UTC | |
by mallett76 (Beadle) on Mar 07, 2025 at 14:15 UTC |