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 details)

Uploaded Source

File details

Details for the file zest.recipe.mysql-0.9.tar.gz.

File metadata

File hashes

Hashes for zest.recipe.mysql-0.9.tar.gz
Algorithm Hash digest
SHA256 fafcc2818d22f5355eaee4f85214af98401e74360eddafa6238b7739ff76c48b
MD5 0c6807bdd6d6fa1afb1963805ba87912
BLAKE2b-256 5ad3deb5a578c8c769376c1168909428baf532d8fa28120952cad7c82f453a77

See more details on using hashes here.

Supported by

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