[Zope] Newbie Question regarding MYSQL and Zope

Andy Dustman adustman@comstar.net
Thu, 9 Mar 2000 01:34:59 -0500 (EST)


On Mon, 6 Mar 2000, Eric L. Walstad wrote:

> I am also trying to get MySQL running with Zope 2.1.4.  I'm trying to follow
> the HOWTO by "alanpog."
> I got to the part about Expand and Install MySQLDB but I am stuck.  In the
> installation README, it says to read Setup.in to verify the paths.  I have
> no idea what those paths or for and I don't have them on my Linux system.
> 
> Does anyone know what these paths are for and how I can determine what I
> should set them to?
> 
> I have MySQL 3.22.32, I'm trying to install MySQLdb 0.1.2 and ZMySQLDA 1.1.3
> per the alanpog HOWTO
> 
> Curtis, what is the really good HOWTO you mentioned?  The one I found is
> very brief and isn't helping me much.  Also, where did you get MySQLdb
> version 0.2.3?  The latest I saw was 0.1.2.

I think he typoed 0.2.3 instead of 0.1.2. 0.1.3 is out as of today (or
yesterday), but shouldn't offer any improvement in conjunction with Zope,
so you don't need to rush out and get it.

The main hurdle that people installing MySQLDA with MySQLdb seem to have
is, they want to try to compile the stuff in the src directory that
ZMySQLDA provides. This is MySQLmodule, which is the old interface. Just
rm -r src. There is a patch that comes with MySQLdb that needs to be
applied to ZMySQLDA. Once you've done these two things and installed
MySQLdb on your PYTHONPATH, you just need to restart Zope, and make a
ZMySQLDA Connection object (or whatever it's called).

-- 
andy dustman       |     programmer/analyst     |      comstar.net, inc.
telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d
"Therefore, sweet knights, if you may doubt your strength or courage, 
come no further, for death awaits you all, with nasty, big, pointy teeth!"