Introduction ============ This recipe generates a new server setup for MySQL, and allow to have multiple MySQL servers running in the same machine. This does not compile new MySQL Software only reuse some existing one. Example ======= You can use it with a part like this:: [default-server] recipe = erp5.recipe.mysqlserver mysql_software_bin = /usr/bin mysql_bin_folder = ${buildout:bin-directory} mysql_datadir = ${buildout:directory}/var/mysql mysql_cnf_file = ${buildout:etc-directory}/my.cnf # the following is only for MySQL-5.1 or later mysqld-extra-configuration = plugin-load = ha_innodb_plugin.so;ha_sphinx.so Options ======= mysql_software_bin Where the Original Software Binaries are installed, like /usr/bin when are provided by Linux Packages. mysql_bin_folder Where the Executable Wrapper scripts like mysql, mysqladmin, mysqldump, mysqld_safe will be created. mysql_datadir Where the MySQL data will be kept. mysql_cnf_file Define the configuration file path generated and used by the server. mysql_auto_start (optional) If true this start the MySQL server when run this recipe. mysql_cnf_template (optional) Optional own template which will be used to generate my.cnf file. mysqld-extra-configuration (optional) Extra configuration lines in [mysqld] section.