Losing has asked for the wisdom of the Perl Monks concerning the following question:
I get an invalid argument value error, SQLSTATE=HY009.use DBI; use strict; my $DSN = "dbi:DB2:DATABASE=$db; HOSTNAME=$hostname; PORT=$port; PROTO +COL=TCPIP; UID=$user; PWD=$pass;"; my dbh = DBI->connect($DSN, $user, $pass)or die $DBI::errstr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connecting to a remote DB2 database
by neilwatson (Priest) on Nov 30, 2006 at 21:33 UTC | |
by Losing (Acolyte) on Nov 30, 2006 at 23:12 UTC | |
|
Re: Connecting to a remote DB2 database
by Tanktalus (Canon) on Dec 01, 2006 at 03:39 UTC |