iodbc always in error
Thu Sep 5 08:03:00 GMT 2013
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)
> 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 : http://pastebin.com/mzDLUC3x
Can you help me to understand what happen ?
(I'm not registered on the ml, please cc me in your answer.)
-------------- next part --------------
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin