[unixODBC-support] Data souce name not found ..

Bolo Michelin malavoi at gmail.com
Thu Mar 22 14:55:45 GMT 2007


Hello,

I'm using FreeTDS and unixODBC to (attempt to) connect to a database on

But when i test isql no working.

b.michelin at srv-mq-www3:~$ isql -v Blogs expay_bo wexpay2007
[IM002][unixODBC][Driver Manager]Data source name not found, and no  
default driver specified
[ISQL]ERROR: Could not SQLConnect

[ISQL]ERROR: Could not SQLConnect
b.michelin at srv-mq-www3:~$ odbcinst -j
unixODBC 2.2.11
DRIVERS............: /ect/odbcinst.ini
SYSTEM DATA SOURCES: /ect/odbc.ini
USER DATA SOURCES..: /ect/odbcini

b.michelin at srv-mq-www3:~$ odbcinst -q -d
Segmentation fault

b.michelin at srv-mq-www3:~$ odbcinst -q -s
odbcinst: SQLGetPrivateProfileString failed with Unable to find  
component name.

b.michelin at srv-mq-www3:~$ cat /etc/odbcinst.ini
[FreeTDS]
Description     = TDS Driver ( MS SQL Server 2005)
Driver          = /usr/lib/odbc/libtdsodbc.so
Setup           = /usr/lib/odbc/libtdsS.so
CPTimeout       =
CPReuse         =
FileUsage

b.michelin at srv-mq-www3:~$ cat /etc/odbc.ini
[Corporate]
Driver          = FreeTDS
Description     = Connection ODBC via FreeTDS
Trace           = yes
Database        = C***********
ServerName      = Server_Web

[FrontOffice]
Driver          = FreeTDS
Description     = Connection ODBC via FreeTDS
Trace           = yes
Database        = ************
ServerName      = Server_Web

[Blogs]
Driver          = FreeTDS
Description     = Connection ODBC via FreeTDS
Trace           = yes
Database        = ***********
ServerName      = Server_Web

Thanks for your help



More information about the unixODBC-support mailing list