Re: [Zope] Newbie Question regarding MYSQL and Zope
On Tue, 07 Mar 2000, CURTIS David wrote:
Hi,
What versions of Zope (probably 2.1.4) and what versions of MySQL work together? I have tried unsuccessfully to get MySQL to work with the the MySQLDA using the latest stuff.
Greetings, I have used MySQL 3.22 (Stable) and 3.23 (Development) with Zope 2.0.1 through 2.1.4. I am currently using them with the ZMySQLDA version 1.1.3, along with MySQLdb version 0.2.3. There is a very good howto on installing these. I have recollections of compile problems on my first attempt, but it turned out I was tryring to compile something that was obivated by MySQLdb. So, follow the instructions carefully. -- Have a better one, Curtis. <dtml-var standard_work_disclaimer>
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. David, did you manage to get past the Install MySQLdb step? Thanks, Eric.
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!"
participants (3)
-
Andy Dustman -
Curtis Maloney -
Eric L. Walstad