On Thu, 22 Jul 2004 10:44:09 +0200, Holger Butschek <h.butschek@butschek-consult.de> wrote:
I need to connect my Zope-instance to MySQL. I have installed Zope (2.6) with a working adapter to MySQL. Now I have installed Zope 2.7, too. I have downloaded the adapter as a src.rpm-component and have installed it with the konquerer. I believe that I have done it. At least Yast opened and did something. But nothing appeared in the products-list of Zope 2.7. Then, I have copied the product "ZMySQLDA" from version 2.6 to version 2.7. Now, of course the product appears in the list. But it is marked as 'broken' and produces the following error:
ImportError: No module named _mysql
This can only mean that MySQLdb is not installed for the version of Python you are using. Didn't the recommended Python version change from Zope 2.6 to 2.7? Get MySQLdb-1.0.0.tar.gz (from http://sourceforge.net/projects/mysq-python), unpack it, and read README; there are specific hints for Zope there.