freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: Linux/Perl in a machine accessing MSSQL in another machine
- From: "Geoff Winkless" <geoff AT farmline.com>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Cc: <fabiano AT leonilda.com.br>
- Subject: Re: Linux/Perl in a machine accessing MSSQL in another machine
- Date: Thu, 20 Jan 2000 13:48:17 -0000
"Fabiano Bonin" <fabiano AT leonilda.com.br> writes:
> I have a Linux box running Perl with DBI, DBD::Sybase, and FreeTDS, and I
> want to access SQL Server runnig on another machine.
> Is that possible?
>
> I'm using the following line to connect:
> my $dbh = DBI->connect( 'dbi:Sybase:test', 'username', 'password',
> RaiseError => 1 } );
>
> in the file /usr/local/freetds/interfaces I have the following lines:
> test
> query tcp ether 200.231.32.3 1433
> master tcp ether 200.231.32.3 1433
>
> but it's not connecting.
If this is MS SQL Server then you need to run recompile freetds. Run
configure with the --tds-ver=4.2 flag. If it's not, or if you've already
done this, then sorry for stating the obvious ;-)
Geoff
-
Linux/Perl in a machine accessing MSSQL in another machine,
Fabiano Bonin, 01/20/2000
- <Possible follow-up(s)>
- Re: Linux/Perl in a machine accessing MSSQL in another machine, Geoff Winkless, 01/20/2000
- Re: Linux/Perl in a machine accessing MSSQL in another machine, William P. McGonigle, 01/20/2000
- Re: Linux/Perl in a machine accessing MSSQL in another machine, Fabiano Bonin, 01/20/2000
Archive powered by MHonArc 2.6.24.