[freetds] Access Sybase by using unixODBC & freetds?

jun_chen at bankone.com jun_chen at bankone.com
Tue Sep 7 11:52:10 EDT 2004


Hi All,

Did anyone use unixODBC and freetds to successfully access Sybase?

I tried different configuration options on freetds, such as 
./configure --prefix=/usr/local/freetds 
--with-unixodbc=/usr/local/unixODBC --enable-sybase-compat
and/or --with-tdsver=4.2. 

tsql -S visdb -U <username> -P <password> works fine and Perl DBD::Sybase 
also works fine. 
But isql -v visdb <username> <password> always failed with the following 
error:
[unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[unixODBC][FreeTDS][SQL Server]Login incorrect.
[unixODBC][FreeTDS][SQL Server]ASA Error -83: Specified database not found
[ISQL]ERROR: Could not SQLConnect

Any ideas?

Thanks a lot in advanced.

Jun

This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.




More information about the FreeTDS mailing list