Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeBSD (unixODBC) to QNX Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeBSD (unixODBC) to QNX Sybase
  • Date: Mon, 12 Jun 2006 22:18:00 -0400

Kamil Parkanyi wrote:
> Hello,
>
> I'm trying to connect Sybase SQL Anywhere 5.0.5 using ODBC from FreeBSD.
...
> freetds.conf :
...
> [eneDB]
> host = 10.3.12.202
> port = 1498
> ; tds version = 5.0
^^^
Don't comment that out. You need TDS 5.0 with ASA.

> odbc.ini
>
> [emSQL]
> Description=Sybase
> Driver=FreeTDS
> Server=10.3.12.202
> Servername=eneDB
> Database=eneDB.db
> TDS_version=4.2

That won't do.
http://www.freetds.org/userguide/freetdsconf.htm#FTN.AEN801
(See the footnote. Does your server call your database "emSQL"?) Try:

[emSQL]
Description=Sybase
Driver=FreeTDS
Servername=eneDB

I might have missed something, but that's closer.

HTH.

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page