LD2 have you tried using $DBI::errstr? that may give you a more specific error

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)
The connect statement fails. There are no warnings or syntax errors (perl -wc). Here's the full statement:

my $compression = "compression=gzip"; $dbh = DBI->connect("dbi:Proxy:$proxy;$compression;dsn=$dsn","","") or die"\n\n" . DBI->errstr() . "\n\n";

The DBI->errstr() duplicates the already printed message:
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.

If I turn off compression in the dbiproxy script and leave compression=gzip in the connect statement, it executes without error.

Thanks for your suggestions, it made me try a few extra things that were educational even if they didn't solve the problem.

In reply to Re: ODBC Connect with compression=gzip by jlongino
in thread ODBC Connect with compression=gzip by jlongino

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.