lingaraj has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need to connect odbc dsn from my machine through http proxy running in a x.x.x.x:yyy proxy there is no driver or perl installed in the proxy machine .. it's just a http proxy server Please help me in this

Replies are listed 'Best First'.
Re: DBI via HTTP proxy
by Corion (Patriarch) on Jul 08, 2010 at 08:28 UTC

    You will need DBI::Proxy DBD::Proxy and DBI::ProxyServer on both sides of the connection. Usually, there is no way to use a HTTP proxy for a database connection, so you will have to do some additional programming there to tunnel the DBI accesses over DBI.

    Alternatively, if your HTTP proxy is a SOCKS5 proxy, you can maybe get away with doing simple RPC calls using something like AnyEvent::MP, but again, this will need Perl code on both ends of the connection.

    Updated: There is no DBI::Proxy

Re: DBI via HTTP proxy
by mje (Curate) on Jul 08, 2010 at 08:40 UTC