Personal tools
You are here: Home Documentation Tutorials Plone and MySQL Introduction
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Introduction

Requirements to make this happen.

Mike Takahashi

How to integrate and manage MySQL data within Plone using TAL, MySQL, Python and Zope Page Templates (TMPZ)
Page 1 of 6.

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)
 
by Mike Takahashi last modified October 30, 2006 - 18:56 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by