[Zope-DB] How to connect to DB2 on the iSeries via Zope from Windows 2000 or XP

Charlie Clark charlie at egenix.com
Thu Jan 20 08:07:05 EST 2005


On 2005-01-20 at 10:36:07 [+0100], "Breuer, Yvon" <YBreuer at tee.toshiba.de> 
wrote:
> Hello to all of the zope-db list,
>  
> I am trying to find out how I can connect to the DB2 database on our 
> iSeries.
> At http://www.bluedynamics.org/products/ZDB2DA I found a Zope DB2 Database 
> adapter, a Python DB2 Module and some installation instructions.
>  
> Now you probably think "where is your problem? you've got what you want"... 
> My problem is that the installations instructions on BlueDynamics seem to 
> be written for Linux. And unfortunately I have no knowledge of Linux (or 
> any other *NIX) so I can't get things up and running. Maybe one of you can 
> explain me how to install the Zope DB2 Database Adapter and the Python DB2 
> Module under Windows 2000 or XP?
>  
> Then another question to ZDB2DA and pydb2:
> To me it seems that there has been not much activity lately. Can anyone 
> tell me if it still works with the latest Zope and Python versions?
>  
> Thank you in advance for your support!

You normally have to compile Python database drivers against some source so 
you will need a C++ compiler. Alternatively you can install cygwin which 
allows you to run Un*x programs under Windows but this usually isn't the 
ideal solution.

This a problem for many Python drivers because it is a lot of work keeping up 
with different DB versions and Python / OS combinations. Do you know whether 
your database has been configured to work with an ODBC manager? If this is 
the case then you would be able to use our mxODBCZopeDA for the connection.

Charlie
-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Zope-DB mailing list