Skip to main content

A Buildout recipe to setup a MySQL database.

Project description

Recipe to install Mysql

Code repository: https://svn.zestsoftware.nl/svn/zest/zest.recipe.mysql

Change history

0.9 (2008-10-15)

  • Better conditional downloading/extracting of the zipfiles. [reinout]

  • Changing update method to check for existance of /parts/mysql. If you’ve removed that parts directory the full install will be run. Handy for updating old installs. [reinout]

0.8 (2008-10-10)

  • Changed mysql-python egg handling: it no longer installs an egg in your global egg cache (which gives errors when you have two buildouts that use it). Instead it installs the egg locally as a development egg. This means you have to include it in your instance’s egg list as ${mysql:eggs}. [reinout]

  • Added example parts to the buildout config so that it can be tested that way. There are no real other tests. [reinout]

0.4.0 (2008-03-16)

  • Created recipe with ZopeSkel [Jean-Paul Ladage].

  • Learned from the varnish recipe and wrote the build recipe which downloads, compiles and install MySQL and created wrapper scripts in the bin folder of the buildout.

Detailed Documentation

Supported options

The recipe supports the following options:

option1

Description for option1

option2

Description for option2

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = zest.recipe.mysql
... option1 = %(foo)s
... option2 = %(bar)s
... """ % { 'foo' : 'value1', 'bar' : 'value2'})

Running the buildout gives us:

>>> print system(buildout)
Upgraded:
...
Installing test1.
Unused options for test1: 'option2' 'option1'.

Contributors

Jean-Paul Ladage, Author

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zest.recipe.mysql-0.9.tar.gz (8.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page