[egenix-users] mx.ODBC.unixODBC: Datasource not found
Georges Racinet
gracinet at nuxeo.com
Thu Dec 7 14:22:01 CET 2006
Hi everyone,
I'm trying to get mxODBC to work with unixODBC, and I get the
following error
[iODBC] Datasource not found and not default driver (from memory, sorry)
Actually, as those also reading the unixODBC support mailing-list
already know, my
unixODBC setup doesn't work so well, but it can initiate a
connection, the odbc.ini and odbcinst.ini
are thus ok. This really looks as if those files were ignored in the
mxODBC context.
I tried to duplicate my .ini files from to /etc/unixODBC/ to /etc/,
with no effect.
Tried to play with ODBCINI env variable - same.
I'm a bit confused by the [iODBC] appearing in the error message. I
imported
mx.ODBC.unixODBC and tried both 'connect' and 'DriverConnect'
Any help would be very appreciated, thank you very much !
Have a nice day.
PS: BTW this will be used in a Zope context. I suppose it's ok to
validate that the connection works
with the pure python library and by the Zope encapsulated version
licences, right ?
---------
Georges Racinet, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40
33 79 87
More information about the egenix-users
mailing list