[Zope] Connecting Mysql
McDonnell, Larry
lmcdonnell@protonenergy.com
Wed, 8 Jan 2003 12:16:16 -0500
Hi,
I am still having a problem. On the SourceForge site, they said to do the
following:
1) Installed Python 2.1
==========================================
2) Installed MySQLdb with the Windows installer
==========================================
3) Coppied the following files from my Python 2.1 directory to
c:\zope\lib\python:
CompatMysqldb.py
CompatMysqldb.pyc
CompatMysqldb.pyo
_mysql.pyd
_mysql_exceptions.py
_mysql_exceptions.pyc
_mysql_exceptions.pyo
MySQLdb (the entire directory)
==========================================
4) Installed ZMySQLDA
I did this and still have the same error. What am I missing or do I have
things in the wrong place.
I put ZMySQLDA in this path C:\Program
Files\proton\lib\python\Products\ZMySQLDA. I know it must be just one thing
wrong. Thanks.
-----Original Message-----
From: Kevin Carlson [mailto:khcarlso@bellsouth.net]
Sent: Tuesday, January 07, 2003 4:04 PM
To: McDonnell, Larry; 'Zope@Zope. Org' (E-mail)
Subject: RE: [Zope] Connecting Mysql
If you haven't installed MySQL-Python you need to do that. You can get that
on sourceforge at:
http://sourceforge.net/project/showfiles.php?group_id=22307&release_id=10289
3
Kevin
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
McDonnell, Larry
Sent: Tuesday, January 07, 2003 11:42 AM
To: 'Zope@Zope. Org' (E-mail)
Subject: [Zope] Connecting Mysql
Hi,
I am trying to install the Mysql Zope adaptor but I get this message:
2003-01-07T09:26:16 ERROR(200) Zope Could not import Products.ZMySQLDA
Traceback (innermost last):
Module OFS.Application, line 541, in import_product
Module Products.ZMySQLDA, line 106, in ?
Module Products.ZMySQLDA.DA, line 108, in ?
Module Products.ZMySQLDA.db, line 106, in ?
ImportError: No module named MySQL
I have the MySQLmodule.so in the following path
..\usr\lib\python2.1\site-packages. Any ideas? Thanks.
Larry McDonnell
Proton Energy Systems
10 Technology Drive
Wallingford, CT 06492
(203) 678-2181
Email:lmcdonnell@protonenergy.com
www.protonenergy.com
_______________________________________________
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 )