[DB-SIG] How to connect to informix DB in an easy way

Carsten Haese carsten.haese at gmail.com
Fri Aug 21 14:15:34 CEST 2009


On Fri, Aug 21, 2009 at 5:36 AM, M. Hecht <mhecht2909 at instant-mail.de>wrote:

> So why I have to configure environment variables or registry keys to
> connect
> to an Informix DB
> with Python??


You have to configure environment variables or registry keys to connect to
Informix with ANY LANGUAGE, not just in Python, because that's how the
Informix client library is set up.


> Is there any comparable approach doing this in one script whithout
> additional configuration?


You could try to set up the necessary environment directly in your code.

Good luck,

Carsten Haese
http://informixdb.sourceforge.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20090821/5fa1cbac/attachment.htm>


More information about the DB-SIG mailing list