Attention

This document was written for an old version of Plone, Plone 2.5.x, and was last updated 1205 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

Introduction

by Mike Takahashi last modified Feb 04, 2009 02:34 AM
Requirements to make this happen.

This tutorial assumes that you already have MySQL setup and that you have knowledge of TAL. For more background on TAL, go here:

http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvZPT.stx 

In order to use MySQL as an external database with Plone, you need to install the following packages so that MySQL can communicate with Zope.  Installation of these packages is beyond the scope of this tutorial.

  1. Python MySQL Package
  2. Zope ZMySQLDA 

Once you have successfully installed both the Python MySQL and ZMySQLDA packages, you will need to create two things within Plone in order to begin interacting with your MySQL database:

  1. A Z MySQL database connection
  2. Z SQL Method(s)

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.