This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

iodbc always in error


I'm trying to make iodbc work with cygwin, but I'm always getting errors. I've installed « libiodbc2 », « iodbctest », « iodbcadm-gtk » and the sqlite driver « odbc-sqlite3 ».

When I wan to check the configuration, I've got the following session :

$ iodbctest mysqlite
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0812.0326
1: SQLDriverConnect = [iODBC][Driver Manager]Driver's SQLAllocEnv() failed (0) SQLSTATE=IM004 1: ODBC_Connect = [iODBC][Driver Manager]Driver's SQLAllocEnv() failed (0) SQLSTATE=IM004

Have a nice day.

The configuration file is here and works when I test it on Debian :

[ODBC Data Sources]
mysqlite = SQLite

Driver      = /usr/lib/cygsqlite3odbc.dll
Description = My sqlite test database
Database    = /home/user/databases/mytest.db
; optional lock timeout in milliseconds
Timeout     = 2000

Trace         = 1
TraceAutoStop = 0
TraceFile     = sql.log
Debug         = 1
DebugFile     = sql_debug.log

I've first suspected something wrong in the sqlite driver and recompiled
it from sources, but I still get the same error, so I now think there is
a problem in the iodbc library.

The iodbc log are here :

Can you help me to understand what happen ?

Thanks !

(I'm not registered on the ml, please cc me in your answer.)

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]