Dave Banning writes:
I have just installed zope-zmysqlda-2.0.8 with mysql version mysql-client-3.23.51
mysql seems to work fine. When I restart zope, clicking the ZMySQLDA icon gives me the following error;
-------------------------------------------------- Traceback (most recent call last): File "/usr/local/www/Zope/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/usr/local/www/Zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql ------------------------------------------
This is the first step in getting zope to talk to mysql, right? Python does not find the shared object "_mysql.so". You need to ensure that it can be found via "PYTHONPATH".
The mailing list archives will tell you various ways how to achieve this... It's an FAQ... Dieter