Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: DBD::Sybase FreeTDS connection problems to MS SQLServer 6.5
  • Date: Thu, 12 Oct 2000 07:08:03 -0700 (PDT)


Andy writes:
> 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";

"server" should be a logical database server name, and is looked up in
the "interfaces" file.

It defaults to "SYBASE" or to the value of $ENV{DSQUERY} (assuming the
FreeTDS libs have the same behavior as teh Sybase libs in this regard.)

Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler AT peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com




Archive powered by MHonArc 2.6.24.

Top of Page