[freetds] Problems connecting Sybase SQL Anywhere
Ystmio Gaona
igaona at stream.com.py
Fri Jun 17 14:38:41 EDT 2005
Hi, i have install the latest version of FREETDS and UnixODBC.
I want to connect to Sybase SQL Anywhere 7.0.
odbc.ini
[medicaserver]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Servername = medicaserver
Server = 192.168.50.1
Port = 2638
TDS_Version = 5.0
Database = medist.db
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
odbcinst.ini
[SYBASE]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Description = TDS Sybase Driver
FileUsage = 1
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
freetds.conf
[medicaserver]
host = 192.168.50.1
port = 2638
tds version = 5.0
I have compiled freetds with the option --with-unixodbc=PATH, and as a result this file was created "/usr/local/freetds/lib/libtdsodbc.so".
Testing the connection i get this error:
[root at esalud unixodbc]# isql -v medicaserver stream stream
[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[28000][unixODBC][FreeTDS][SQL Server]Login incorrect.
[][unixODBC][FreeTDS][SQL Server]ASA Error -75: Request to start/stop database denied
[ISQL]ERROR: Could not SQLConnect
I'm running Redhat linux 7.3, freetds 0.63, unixodbc 2.2.11, kernel version 2.4.18-3.
But, i can connect to another database (Sybase SQL Anywhere) on another host.. :((
I hope you can helpme.
Sorry for my english :).
Ystmio
More information about the FreeTDS
mailing list