I've downloaded my MySQL DA but Zope can't seem to find MySQL on my system (Zope and MySQL are installed in different directories). Is there someplace I can add a command so that Zope will look outside of its immediate vicinity? Judging by the messages, it's not looking very far afield: File /home/nancy/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531 , in import_product File /home/nancy/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/__init__.p y, line 91, in ? File /home/nancy/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/DA.py, lin e 92, in ? File /home/nancy/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/db.py, lin e 89, in ? ImportError: No module named _mysql Thanks. merci pour votre reponse je suis debutante
veronique schrieb:
I've downloaded my MySQL DA but Zope can't seem to find MySQL on my system (Zope and MySQL are installed in different directories). Is there someplace I can add a command so that Zope will look outside of its immediate vicinity? Judging by the messages, it's not looking very far afield:
The Problem is that the DA is missing a module that provides an interface between MySQL and Python; for that reason this is called mysql-python. Search sourceforge.net for the most current version. BTW: this precondition is surely described in the README of ZMySQLDA and on its Zope-Page. And the problem had already been answered several time on this and the zope-db list. Pleeeeeease read!
merci pour votre reponse De rien. je suis debutante Don't mind, you can work on that ;-)
Martin
participants (2)
-
Martin Gebert -
veronique