Hi Chris, Thanks for the suggestions. Sorry for my typing mistake in my first email, I am actually using Zope 2.6.0. I have installed the suggested modules ZMySQLDA-2.0.8.tar.gz and MySQL-python- 0.9.2.win32-py2.2.exe. But I got the following error : Zope could not import Products.ZMySQLDA Traceback (innermost last): Module OFS.Application, line 541, in import_product Module Products.ZMySQLDA, line 91, in ? Module Products.ZMySQLDA.DA, line 92, in ? File Module Products.ZMySQLDA.db, line 89, in ? ImportError: No module named _mysql I have seen other people posted the same error message in the mail archives, but I didn't see a suitable solution for it. Would you have any idea? Anyway, if anyone has solve the problem, please email me. cheers, Bonnie On 20 Jan 2003 at 15:24, Chris Withers wrote:
b.nguyen@chime.ucl.ac.uk wrote:
I am running Zope 2.0 in my machine with platform Win XP. I have succeed in connecting Zope to mysql database (which is currently held in another machine, Unix server) by using ZODBCDA-3.1.0b2-win32-py21.
Why not just to ZMySQLDA (you'll need mysql-python too) directly: http://sourceforge.net/projects/mysql-python
I'd echo Deiter's comments about upgrading to 2.5.1 or 2.6.0...
cheers,
Chris