Skip to Content.
Sympa Menu

freetds - DBD::Sybase FreeTDS connection problems to MS SQLServer 6.5

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Andy" <anwill AT acxiom.co.uk>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: DBD::Sybase FreeTDS connection problems to MS SQLServer 6.5
  • Date: Thu, 12 Oct 2000 07:26:39 -0400


Hi,

I am getting a "connection refused" message while trying to connect...
here's my code:

BEGIN {
$ENV{SYBASE} = '/usr/local/freetds';
}
use strict;
use DBI;

my $dsn = "dbi:Sybase:database=myDB;server=10.150.3.210";
my $user = "user";
my $pass = "pass";

my $dbh = DBI->connect($dsn,$user,$pass) or die "$DBI::errstr()";

Anyone know what is happenning???

Thanks

Andy




Archive powered by MHonArc 2.6.24.

Top of Page