[Zope] ZMySQLDA

Dirk Datzert Dirk.Datzert@rasselstein-hoesch.de
Wed, 02 Jan 2002 22:52:12 +0100


My _mysql.so is in :

/usr/lib/python2.1/site-packages/_mysql.so
/usr/lib/python2.1/site-packages/_mysql_exceptions.py
/usr/lib/python2.1/site-packages/_mysql_exceptions.pyc

/usr/lib/python2.1 is your /usr/local/lib/python

in my db.py is the following import:

import _mysql
from _mysql_exceptions import OperationalError, NotSupportedError
MySQLdb_version_required = (0,9,0)

try

python db.py

Does this give an mysql-relevant error ??

I have ZMySQLDA 2.0.8

Hope this helps. I had similar problems with MySQL. I had an old ZMySQLDA version.
Don't know if that is your problmen.

Regards,
Dirk