ODBC Connect with compression=gzip I have a Win98 box with an Access97 mdb file that I can connect to and query via dbiproxy. The dbiproxy command works fine like this: dbiproxy --localport 3333 --logfile "STDERR" but when I use the following: dbiproxy --localport 3333 --logfile "STDERR" --compression gzip and attempt to connect from the Solaris perl script:
#!/usr/local/bin/perl use DBI; my $dsn = "DBI:ODBC:HelpDesk"; my $proxy = "hostname=123.45.678.9;port=2222"; my $compression = "compression=gzip"; $dbh = DBI->connect("dbi:Proxy:$proxy;$compression;dsn=$dsn") or die "\ndbiproxy Connect Failed:\n" . " proxy:$proxy;\n dsn=$dsn\n $compression\n\n";
I get the following message on the Solaris:
DBI->connect(hostname=24.18.31.54;port=2222;compression=gzip; dsn=DBI:ODBC:HelpDesk) failed: Cannot log in to DBI::ProxyServer: Unexpected EOF from server at /usr/local/lib/perl5/site_perl/5.6.0/RPC/PlClient.pm line 83.
dbiproxy gives the following message:
Thu Jul 12 00:27:08 2001 err, Child died: Unexpected EOF from client at C:/Perl/site/lib/RPC/PlServer.pm line 149.
These code snippets are pretty much straight out of the O'Reilly book Programming the Perl DBI. I would greatly appreciate any help. I've spent more than 12 hours trying to get this to work. Thanks!

In reply to 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.