This is the mail archive of the
cygwin
mailing list for the Cygwin project.
iodbc always in error
- From: Sébastien Dailly <sebastien at chimrod dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 Sep 2013 10:02:45 +0200 (CEST)
- Subject: iodbc always in error
- Authentication-results: sourceware.org; auth=none
Hello,
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
[mysqlite]
Driver = /usr/lib/cygsqlite3odbc.dll
Description = My sqlite test database
Database = /home/user/databases/mytest.db
; optional lock timeout in milliseconds
Timeout = 2000
[ODBC]
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 ?
Thanks !
(I'm not registered on the ml, please cc me in your answer.)
--
Sébastien
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple