I am trying to set up an ODBC connection to an SQL server from my linux
client, using the freetds driver.
Using the tsql tool included in freetds, I get connect myself to the
database successfully. Using the ODBC connection gives me the following
error:
[IM002][unixODBC][Driver Manager]Data source name not found, and no default
driver specified
This is my odbc.ini file:
[tasktimer]
Description = MSSQLDriver
Driver = MSSQLDriver
Servername = sqlserver.xxx
Database = tasktimer
UID = sa
PWD = sa
Port = 1433
This is my odbcinst.ini file:
[MSSQLDriver]
Description = Treiber fr MS SQL
Driver = /usr/local/lib/libtdsodbc.so.0.0.0
Setup = /usr/lib/unixODBC/libtdsS.so.1.0.0
FileUsage = 1
CPTimeout =
CPReuse =
I compiled the driver successfully using the following configure options:
./configure --with-odbc-nodm=/usr/include/ --with-tdsver=8.0
Has anyone experienced similar problems? Any help is very appreciated.
Regards, Alex