in reply to ODBC Connect with compression=gzip
LD2 have you tried using $DBI::errstr? that may give you a more specific errorThe connect statement fails. There are no warnings or syntax errors (perl -wc). Here's the full statement:
LD2 I meant..have you used it for die.. i.e. or die $DBI::errstr; also..have you just tested your connect string.. to make sure it's accurate? (silly question, I know)
my $compression = "compression=gzip"; $dbh = DBI->connect("dbi:Proxy:$proxy;$compression;dsn=$dsn","","") or die"\n\n" . DBI->errstr() . "\n\n";
DBI->connect(hostname=192.245.224.9;port=3333;compression=gzip;dsn=DBI +:ODBC:Help Desk) failed: Cannot log in to DBI::ProxyServer: Unexpected EOF from server at /usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line 83. at odbc.p line 11 Cannot log in to DBI::ProxyServer: Unexpected EOF from server at /usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line 83.
|
---|