If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > FreeTDS / Sybase on Linux having issues

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-11, 12:26
tale103108 tale103108 is offline
Registered User
 
Join Date: Apr 2011
Posts: 2
Red face FreeTDS / Sybase on Linux having issues

Hello all,
I am trying to install and use the FreeTDS ODBC drivers with the unixODBC driver manager on CentOS 5.5 Linux, x86 32-bit.
I am trying to connect to a remote Sybase ASA 9 instance on Windows using the following from the Linux command line:

isql RSCCC2 dba sql -v

I get the following error:

[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[08004][unixODBC][FreeTDS][SQL Server]ASA Error -83: Specified database not found
[ISQL]ERROR: Could not SQLConnect

Seems like pretty basic stuff yet I can not seem to detect this issue. I can connect via a remote WindowsXP system.
I think I have it all setup correctly but please find below some environment information to assist you (driver and data source templates).

tds.driver.template file:
--------------------------------
[FreeTDS]
Description=v0.82 with protocol v8.0
Driver=/usr/lib/libtdsodbc.so

tds.datasource.template file:
-----------------------------------------

[RSCCC2]
Driver=FreeTDS
Description=Sybase RSCCC Royse City Local
Trace=No
Server=10.10.4.60
Port=2638
TDS Version=4.2
Database=secur

Cheers!

Tony
Reply With Quote
Reply

Tags
freetds, linux odbc, sybase

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On