[zope] : installation of MySQL

K H Subrahmanyan subrahmanyan.kalathur@wipro.com
Wed, 17 Jan 2001 09:51:41 +0530


hi,

  I am using ZOPE in Linux.
Now I want to install MySQL to that.
I have installed MySQLDA and MySQLdb to that.
but still that is giving the following error.
kindly help me.





ZMySQLDA Import Traceback

Traceback (innermost last):
  File "/zope/zope-linux/lib/python/OFS/Application.py", line 397, in
import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/__init__.py", line
106, in ?
    import sys, os, Globals, DA
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/DA.py", line 108, in ?
    from db import DB
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/db.py", line 106, in ?
    import MySQL, regex, sys
ImportError: Bad magic number in /zope/zope-linux/lib/python1.5/MySQL.pyc