tux402 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use DBI; my $host = '127.0.0.1\InstanceName'; my $usr = 'HostName\UserName'; my $pw = 'Password'; my $dsn = DRIVER=/usr/local/lib/libtdsodbc.so;SERVER=$host;PORT=4433;D +ATABASE=dataBase;UID=$usr;PW=$pw;TDS_Version=8.0"; my $dbh = DBI->connect('DBI:ODBC:'.$dsn) || die $DBI::errstr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI and FreeTDS Named Instances
by dreadpiratepeter (Priest) on Aug 10, 2009 at 23:59 UTC | |
by tux402 (Acolyte) on Aug 11, 2009 at 02:30 UTC | |
by dreadpiratepeter (Priest) on Aug 11, 2009 at 03:11 UTC | |
by Anonymous Monk on Aug 11, 2009 at 14:29 UTC | |
by dreadpiratepeter (Priest) on Aug 11, 2009 at 16:12 UTC | |
| |
by Anonymous Monk on Aug 11, 2009 at 14:30 UTC |