19 Nov
2003
19 Nov
'03
12:57 p.m.
Use ODBC to connect MySQL to Zope, rather than messing with the Zope native MySQLDA connector, which is somewhat challenging to get working on Windows.
Hm, as long as you work with the bundled python, there is a simple solution to getting MySQLDA working on windows and that is to download the MySQL-python-0.9.2.win32-py2.1.exe and *not* install it with the installer, but open it with winzip and extract to your <zopehome>\bin\Lib directory. If you like to do it nicely, move the _mysql.pyd file to the <zopehome>\bin\DLL directory and all should work without problem. That will save you the trouble of making a separate ODBC connection for each mysql database you want Zope to talk to. hth Rik Hoekstra