Setting up InformixDb

Carsten Haese carsten at uniqsys.com
Sat May 13 17:10:01 EDT 2006


On Sat, 13 May 2006 14:09:19 -0400, The Shaffer s wrote
> I have an informix database on a unix machine which I want to 
> access. I downloaded InformixDb-2.2 and managed to get it built and 
> installed and it works fine with python.
> 
> My problem is I want to access the same database from a PC remotely. 
> Yes, I already have informix setup and configured on the unix 
> machine to accept connections remotely. And, I can connect to it 
> fine from an ODBC interface to Excel and Access.
> 
> But, to build the informix module requires the INFORMIXDIR 
> environment variable set to it which I don't believe I can set to a 
> remote machine.
> 
> So, how can I get this module built without having an informix 
> installed on my PC?

On the PC, you'll have to install either the Informix Client SDK
(http://www.ibm.com/software/data/informix/tools/csdk/) or Informix Connect
(http://www.ibm.com/software/data/informix/tools/connect/). Both are free
downloads.

If you plan on building InformixDB from source, you'll need CSDK. If you want
to simply use a pre-built binary, such as the one I provide at Sourceforge,
either CSDK or Informix Connect will do.

In either case, INFORMIXDIR on the PC should point to where you installed the
Informix client software, and INFORMIXSERVER points to the server instance
you're connecting to.

Hope this helps,

Carsten.




More information about the Python-list mailing list