[freetds] [newbie] DBD::Sybase and freetds getting a connection

Michael Peppler mpeppler at peppler.org
Tue Apr 6 20:47:31 EDT 2004


On Tue, 2004-04-06 at 17:16, es at fruitcom.com wrote:
> Hi
> 
> I installed the deb packages for establishing a DBD::Sybase connection using freetds.
> Package: freetds-dev Version: 0.61-5
> Package: libdbd-sybase-perl Version: 1.00-1
> 
> I am trying to connect to windows XP running MSSQL7.
> 
> When trying to connect to the sybase hosted server with:

> Only configuration I have made is the following staza in /etc/freetds/freetds.conf FWIW:
> [MyServer70]
>    host = 192.168.1.4
>    port = 1433
>    tds version = 7.0

Try:

$dbh = DBI->connect('dbi:Sybase:server=MyServer70', 'su', 'whatever');

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler at peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.peppler.org/resume.html



More information about the FreeTDS mailing list