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: "Kamil Parkanyi" <parkanyi AT procaut.sk>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeBSD (unixODBC) to QNX Sybase
  • Date: Tue, 13 Jun 2006 10:58:54 +0100

Hello,

UDP port 1498 is OK. This is special port of Sybase for QNX operating system..
This is the connection string from MSWin for ODBC conn. and it works:
dbclient -x tcpip{host=10.3.12.202} eneDB

dbserver runs with global name eneDB
database file is eneDB.db
I've made some changes in odbc.ini file but the result is same.

Kamil

pvs1_6#
pvs1_6#
pvs1_6# tail freetds.conf
[eneDB]
host = 10.3.12.202
port = 1498
tds version = 5.0
pvs1_6#
pvs1_6#
pvs1_6# tail odbc.ini
[eneDB]
Description=Sybase
Driver=FreeTDS
Servername=eneDB

pvs1_6#
pvs1_6#
pvs1_6# tail odbcinst.ini
[FreeTDS]
Description = FreeTDS Driver
Driver = /usr/local/lib/libtdsodbc.so
FileUsage = 1

pvs1_6#
pvs1_6#
pvs1_6# isql -v eneDB DBA SQL
src/tds/login.c: tds_connect: 10.3.12.202:1498: Connection refused
[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[08S01][unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
[ISQL]ERROR: Could not SQLConnect






Archive powered by MHonArc 2.6.24.

Top of Page