[Zope] ZMySQLDA broken with Redhat 9?

Mitch Pirtle mitchy at spacemonkeylabs.com
Sat Aug 23 19:20:35 EDT 2003


On Fri, 2003-08-22 at 18:56, hpinson at indepthl.com wrote:
> This is really baffling:

Until somebody points out the obvious ;^)

You have installed mysql-python for the "installed" python, and not for
the python that was bundled with your zope.  So first I'd install
mysql-python from source, using the python binary that came with zope.

Then, test that install by doing this:

	python
	import _mysql

Should not have errors, if it does, then you never got mysql_python
installed where zope can see it.

Also, I saw that in order to get ZMySQLDA working you gotta change one
line where the transaction-handling parameters were borked.  The line
(#183?):

self.transactions = self.db.server_capabilities & CLIENT.TRANSACTIONS

Can be changed to:

self.transactions = 0

Of course, on that one I am simply monkey see, monkey do.  YMMV.

-- Mitch




More information about the Zope mailing list