[Zope] ZMySQLDA cannot find _mysql

Holger Lehmann lehmann@catworkx.de
Thu, 15 Mar 2001 10:38:18 +0100


Am Mittwoch, 14. M=E4rz 2001 18:52 schrieb Joshua:
> Hi
>
> I'm on win2k and installed ZMySQLDA as well as the win32 MySQLdb module
> from Gerhard's ( http://home.t-online.de/home/err666/ )  The mysqldb is
> installed in my python dir. I can import from the python window just fi=
ne,
> but ZMySQLDA does not find it in Zope - missing _mysql is the message.=20
> What do I need to do for Zope to recognize it?

Apparently you need to *compile* it yourself.
There is a package called MySQLdb-0.1.2 which contains the source to the=20
_mysqlmodule.so (for Linux) and _mysqlmodule.dll (for win32)
It comes along with a README and a README.windows that describes the thin=
gs=20
to do. For Linux I had to apply the ZMySQLDA.diff (patch the ZMySQLDA Sou=
rce)=20
and compile ZMySQLDA.

- Holger

> I've searched the list but found nothing on win32 and this.
>
> Thanks
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--=20
-----------------------------------
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:lehmann@catworkx.de
http://www.catworkx.de
http://www.catbridge.de