25 Sep
1999
25 Sep
'99
12:17 p.m.
I'm looking at switching from using PHP to Zope for an intranet application. The problem is I can't find how to add another database (in this case a MySQL DB). Basically I've installed Zope 2.0.1 and everything is working, now what do I have to connect to MySQL.
[Caveat reader - I don't know MySQL] You need to install the MySQL client libraries and get to the point where you can run character mode queries from the client. Then, install the MySQL Database Adapter (DA) into your Zope distribution. Restart Zope and you should be off to the races! --Rob P.S. - I am not sure of the current status of the MySQL DA vis-a-vis concurrency -- some DAs are not threadsafe requiring you to run Zope 2 in single-threaded mode :^(