Forge Home

mysql

Installs, configures, and manages the MySQL service.

7,249,478 downloads

2,497 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 16.0.0 (latest)
  • 15.0.0
  • 14.0.0
  • 13.3.0
  • 13.2.0
  • 13.1.0
  • 13.0.1
  • 13.0.0
  • 12.0.3
  • 12.0.2
  • 12.0.1
  • 12.0.0
  • 11.1.0
  • 11.0.3
  • 11.0.2
  • 11.0.1
  • 11.0.0
  • 10.10.0
  • 10.9.1
  • 10.9.0
  • 10.8.0
  • 10.7.1
  • 10.7.0
  • 10.6.0
  • 10.5.0
  • 10.4.0
  • 10.3.0
  • 10.2.1
  • 10.2.0
  • 10.1.0
  • 10.0.0
  • 9.1.0
  • 9.0.0
  • 8.1.0
  • 8.0.1
  • 8.0.0
  • 7.0.0
  • 6.2.0
  • 6.1.0
  • 6.0.0
  • 5.4.0
  • 5.3.0
  • 5.2.1
  • 5.2.0
  • 5.1.0
  • 5.0.0
  • 4.0.1
  • 4.0.0
  • 3.11.0
  • 3.10.0
  • 3.9.0
  • 3.8.0
  • 3.7.0
  • 3.6.2
  • 3.6.1
  • 3.6.0
  • 3.5.0
  • 3.4.0
  • 3.3.0
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.3.1
  • 2.3.0
  • 2.2.3
  • 2.2.2
  • 2.2.1
  • 2.2.0 (deleted)
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 2.0.0-rc5 (pre-release)
  • 2.0.0-rc4 (pre-release)
  • 2.0.0-rc3 (pre-release)
  • 2.0.0-rc2 (pre-release)
  • 2.0.0-rc1 (pre-release)
  • 1.0.0
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.1
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.0.1
released Jul 11th 2024
This version is compatible with:
  • Puppet Enterprise 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , , , , , , , ,
Tasks:
  • export
  • sql

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-mysql', '16.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-mysql
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-mysql --version 16.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppetlabs/mysql — version 16.0.0 Jul 11th 2024

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v16.0.0 - 2024-07-11

Full Changelog

Changed

  • Remove deprecated option expire_logs_days from default config #1625 (fraenki)
  • (#1619) mysq::db: update charset/collate to utf8mb3/utf8mb3_general_ci #1624 (bastelfreak)
  • (CAT-1428) Removal of redhat/scientific/oraclelinux 6 for mysql module #1597 (praj1001)

Added

Fixed

v15.0.0 - 2023-06-19

Full Changelog

Changed

Added

  • (CONT-576) allow deferred function for token & secrets #1569 (Ramesh7)

Fixed

v14.0.0 - 2023-04-17

Full Changelog

Changed

  • (CONT-789) Add Support for Puppet 8 / Drop Support for Puppet 6 #1557 (david22swan)

v13.3.0 - 2023-04-11

Full Changelog

Added

Fixed

v13.2.0 - 2023-02-24

Full Changelog

Added

Fixed

  • xtrabackup.sh only touch when backup_success_file_path is set #1522 (JvGinkel)

v13.1.0 - 2022-12-20

Full Changelog

Added

  • mysql::db sql parameter support filenames with multiple dots #1505 (skn-bvdh)

Fixed

v13.0.1 - 2022-10-24

Full Changelog

Fixed

v13.0.0 - 2022-08-25

Full Changelog

Changed

Added

Fixed

v12.0.3 - 2022-05-25

Full Changelog

Fixed

v12.0.2 - 2022-04-19

Full Changelog

Added

Fixed

  • (Bugfix) Grant privileges idempotency Fix #1466 (LukasAud)
  • pdksync - (GH-iac-334) Remove Support for Ubuntu 16.04 #1457 (david22swan)
  • pdksync - (IAC-1787) Remove Support for CentOS 6 #1450 (david22swan)
  • add mysql_native_password plugin to authentication_string vs password #1441 (Heidistein)
  • fix Error: Transaction store file transactionstore.yaml is corrupt #1429 (andreas-stuerz)
  • Combine multiple grants into one while checking state #1428 (fuyar)

v12.0.1 - 2021-08-26

Full Changelog

Fixed

v12.0.0 - 2021-07-27

Full Changelog

Changed

v11.1.0 - 2021-07-05

Full Changelog

Added

Fixed

v11.0.3 - 2021-06-21

Full Changelog

Fixed

v11.0.2 - 2021-06-07

Full Changelog

Fixed

v11.0.1 - 2021-04-19

Full Changelog

Fixed

  • Fix: Puppet Unknown variable: 'mysql::params::exec_path' #1378 (JvGinkel)
  • (IAC-1497) - Removal of unsupported translate dependency #1375 (david22swan)
  • (MODULES-10926) Fix Java binding package for Ubuntu 20.04 #1373 (treydock)

v11.0.0 - 2021-03-01

Full Changelog

Changed

  • pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 #1366 (carabasdaniel)

Added

Fixed

v10.10.0 - 2021-02-12

Full Changelog

Added

v10.9.1 - 2021-01-07

Full Changelog

Fixed

v10.9.0 - 2020-12-16

Full Changelog

Added

v10.8.0 - 2020-11-04

Full Changelog

Added

Fixed

  • (IAC-1137) Ensure curl package is installed for xtrabackup tests #1338 (pmcmaw)
  • (MODULES-10788) - fix for password prompt when creating mysql_login_path resource #1334 (andreas-stuerz)
  • (MODULES-10790) - Setting logbin results in error Unknown variable: 'managed_dirs_path' #1325 (pmcmaw)
  • Fix package for python bindings on Ubuntu 20.04 #1323 (tobias-urdin)

v10.7.1 - 2020-09-28

Full Changelog

Fixed

v10.7.0 - 2020-08-13

Full Changelog

Added

  • pdksync - (IAC-973) - Update travis/appveyor to run on new default branch main #1316 (david22swan)
  • add package provider and source #1314 (fe80)

Fixed

v10.6.0 - 2020-06-23

Full Changelog

Added

Fixed

v10.5.0 - 2020-05-13

Full Changelog

Added

  • Support mariadb's ed25519-based authentication #1292 (dciabrin)
  • Allow changing the mysql-config-file group-ownership #1284 (unki)

Fixed

  • Remove legacy (old API) mysql_password function #1299 (alexjfisher)
  • Improve differences between generated mysql service id values #1293 (ryaner)
  • (MODULES-10023) Fix multiple xtrabackup regressions #1245 (fraenki)
  • Fix binarylog by allowing users to specify managed directories #1194 (elfranne)

v10.4.0 - 2020-03-03

Full Changelog

Added

  • Allow adapting MySQL configuration file's permissions mode #1278 (unki)
  • pdksync - (FM-8581) - Debian 10 added to travis and provision file refactored #1275 (david22swan)
  • Allow backupcompress for xtrabackup profile #1196 (Spuffnduff)
  • Enable module to not use default options #1192 (morremeyer)

v10.3.0 - 2019-12-11

Full Changelog

Added

Fixed

  • Fix java and ruby binding packages for Debian 10 #1264 (treydock)
  • (MODULES-10114) Confine fact for only when mysql is in PATH #1256 (bFekete)

v10.2.1 - 2019-10-31

Full Changelog

Fixed

v10.2.0 - 2019-09-24

Full Changelog

Added

Fixed

v10.1.0 - 2019-07-31

Full Changelog

Added

  • Allow backup::mysqldump::time to accept monthday, month, weekday #1214 (malakai97)

v10.0.0 - 2019-06-26

Full Changelog

Added

Fixed

  • FM-7982 - update provisioner to docker_exp #1205 (lionce)

v9.1.0 - 2019-06-11

Full Changelog

Added

Fixed

  • (MODULES-6875,MODULES-7487) - Fix mariadb mysql_user password idempotency #1195 (alexjfisher)

v9.0.0 - 2019-05-22

Full Changelog

Changed

Added

Fixed

8.1.0 - 2019-04-03

Full Changelog

Added

Fixed

  • (MODULES-6627) Remove unused --host flags from mysqlcaller #1174 (david22swan)
  • Set correct packagename for ruby_mysql on Ubuntu 18.04 #1163 (datty)
  • [MODULES-8779] Set proper python_package_name for RHEL/CentOS 8 #1161 (javierpena)
  • fix install ordering for innodb data size #1160 (fe80)

8.0.1 - 2019-03-20

Full Changelog

Added

  • Add support for dynamic backupmethods/mariabackup #1171 (danquack)

Fixed

8.0.0 - 2019-01-23

Full Changelog

Changed

  • (MODULES-8193) - Removal of inbuilt deepmerge and dirname functions #1145 (david22swan)

Added

  • (MODULES-3539) Allow @ in username #1155 (Fogelholk)
  • (MODULES-8144) - Add support for SLES 15 #1146 (eimlav)
  • Added support for RHSCL mysql versions and support for .mylogin.cnf for MySQL 5.6.6+ #1061 (DJMuggs)

Fixed

  • (MODULES-8193) - Wrapper methods created for inbuilt 4.x functions #1151 (david22swan)
  • pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3 #1150 (tphoney)
  • Add includedir for Gentoo #1147 (baurmatt)
  • add mysql_native_password for mariadb 10.2 in password_hash #1117 (mlk-89)
  • Removing query_cache ops that are no longer supported in MySQL >= 8.0 #1107 (ernstae)

7.0.0 - 2018-10-25

Full Changelog

Changed

Added

Fixed

  • (MODULES-7487) Check authentication string for user password on MariaDB 10.2.16+ #1135 (gguillotte)

6.2.0 - 2018-09-28

Full Changelog

Added

  • pdksync - (MODULES-6805) metadata.json shows support for puppet 6 #1127 (tphoney)

Fixed

  • (maint) - Change versioning comparison #1123 (eimlav)

6.1.0 - 2018-09-13

Full Changelog

Fixed

  • pdksync - (MODULES-7705) - Bumping stdlib dependency from < 5.0.0 to < 6.0.0 #1114 (pmcmaw)
  • (MODULES-6981) Do not try to read ~root/.my.cnf when calling "mysqld -V" #1063 (simondeziel)

6.0.0 - 2018-08-02

Full Changelog

Changed

Added

Fixed

5.4.0 - 2018-05-23

Full Changelog

Added

  • (PDOC-210) add Puppet Strings documentation #1068 (hunner)
  • (PDOC-210) add Puppet Strings documentation #1062 (eputnam)
  • (MODULES-5618) Hide logging of password_hash changes in mysql::user #993 (jhriggs)
  • Replaced 'DROP USER' with 'DROP USER IF EXISTS' #942 (xelmido)

Fixed

5.3.0 - 2018-02-20

Full Changelog

5.2.1 - 2018-02-02

Full Changelog

5.2.0 - 2018-01-19

Full Changelog

Changed

Added

5.1.0 - 2017-10-11

Full Changelog

5.0.0 - 2017-10-05

Full Changelog

Added

  • Updating PO file to match strings in POT file and code base. #1010 (pmcmaw)

Fixed

  • refactor php_package_name default for Debian/Ubuntu #969 (mmoll)

4.0.1 - 2017-09-09

Full Changelog

Added

Fixed

  • (MODULES-5602) remove superfluous backslashes from regular expressions #989 (DavidS)

4.0.0 - 2017-09-07

Full Changelog

Changed

Fixed

  • MODULES-5405 interpolation for puppet strings #984 (tphoney)
  • interpolation for ruby & puppet code. #983 (tphoney)
  • Updated pot file, decorated simple strings #978 (tphoney)
  • Fixing empty user/password issue #972 (ajardan)
  • (MODULES-4604) move name validation in mysql_grant type #961 (eputnam)
  • (MODULES-4115) Invalid parameter provider on Mysql_user[user@localhost] in mysql::db #912 (ryanb-hc)

3.11.0 - 2017-05-08

Full Changelog

Added

  • (#4534) Add PROXY grant support to mysql_grant #934 (jhriggs)
  • Add a file in /tmp to check when the last backup was successful #907 (ampersand8)

Fixed

  • Do not wait for mysql socket to open if service_ensure is stopped #948 (sw0x2A)
  • (MODULES-4743) mysql : cannot initialize database dir not empty #945 (shawnferry)
  • Only install bzip2 if backupcompress #933 (edestecd)
  • Use gfind on solaris #920 (marvin0815)

Other

  • Enhancements to xtrabackup backup provider #902 (fraenki)

3.10.0 - 2016-11-07

Full Changelog

Added

  • Add support for setting tls options for mysql_user's #896 (JAORMX)
  • MODULES-3907 Add MySQL/Percona 5.7 initialize on fresh deploy #892 (QuentinMoss)
  • Add support for REQUIRE SSL|X509 option #888 (edestecd)

Fixed

  • Revert "Add support for REQUIRE SSL|X509 option" #895 (hunner)
  • fixes problem with package name change from php5-mysql to php-mysql on 16.04 #889 (ppouliot)

Other

3.9.0 - 2016-09-06

Full Changelog

Added

  • (MODULES-3698) Updates defaults for SLES12 #881 (bmjen)
  • MODULES-3711 - Add limit to mysql server ID generated value #872 (QuentinMoss)
  • parametrize xtradb package name #860 (ndelic0)
  • add new backup dump parameter maxallowedpacket #856 (cfasnacht)
  • [MODULES-3441] Discover mysql version using facts #852 (jtopper)

Fixed

  • revoking GRANT privilege fix #880 (bodik)
  • Ensure that error log is writable by owner #877 (runejuhl)
  • MODULES-3697 Changed puppet fail behaviour for mysql create user and grant if user name is longer than 16 chars #871 (dn1s)
  • (MODULES-3401) Fix for mysql version retrieval #869 (HelenCampbell)
  • MODULES-3601 Move binary logging configuration to take place after pa… #868 (QuentinMoss)
  • Resource fails when fqdn is not set. #853 (ragonlan)
  • Fix global parameter usage in backup script #840 (HT43-bqxFqB)

3.8.0 - 2016-05-31

Full Changelog

Added

  • Support mysql_install_db script on Gentoo #838 (glorpen)
  • (MODULES-2111) Add the system database to user related actions. #830 (fvanboven)
  • Added bzip2 package support on mysqldump backup #827 (lcrisci)

Fixed

  • Revert "Use mariadb by default for Debian Jessie (#845)" #847 (DavidS)
  • Find MySQL 5.5 installation on CentOS #842 (jjagodzinski)
  • Fixed an issue with Amazon linux major release 4 installation #837 (megianni)
  • default group for logfiles on Debian/Ubuntu should be adm #836 (fschndr)
  • Check that /var/lib/mysql actually contains files. #834 (jonnytdevops)
  • move out $options['mysqld']['log-error'] from service.pp into installdb.pp #833 (ndelic0)
  • make sure we find mysqld on FreeBSD #831 (fraenki)
  • remove erroneous anchors to mysql::client from mysql::db #829 (vicinus)
  • Remove mysql regex when checking type #828 (s-t-e-v-e-n-k)
  • Default mysqld_type should be "mysql" #824 (ih84ds)
  • (FM-5050) Configure the base of includedir #821 (DavidS)
  • (MODULES-1256) Fix parameters on OpenSUSE 12 #820 (hunner)
  • Remove mysql_table_exists() function #815 (hunner)
  • Config before install #813 (tomkrouper)
  • Loosen MariaDB recognition to fix it on Debian 8 #812 (koubas)
  • Fixed global parameters skipped #811 (pashamesh)
  • Use mysql_install_db only with uniq defaults-extra-file #809 (mmalchuk)

3.7.0 - 2016-03-11

Full Changelog

Added

Fixed

  • (#3028) Fix mysql_grant with MySQL ANSI_QUOTES mode #796 (jhriggs)
  • Re-Add the ability to set a empty string as option parameter #791 (roidelapluie)
  • (MODULES-2676) Fixed new mysql_datadir provider on CentOS for MySQl 5.7.6 compatibility #789 (elconas)
  • Fixing error when disabling service management and the service does not exist #787 (obi11235)
  • ensure if service restart to wait till mysql is up #784 (vicinus)
  • Fixes edge-case with dropping pre-existing users with grants #779 (jmcclell)

3.6.2 - 2015-12-04

Full Changelog

Added

Fixed

  • Use temp cnf file instead of env variable. #778 (mentat)
  • (MODULES-2767) fix mysql_table_exists: add check for args.size, fix rspec test #777 (agadelshin)
  • (MODULES-2767) allow to check if table exists before grant #776 (agadelshin)
  • (MODULES-2605) Use MYSQL_PWD to avoid mysqldump warnings. #775 (abednarik)
  • (MODULES-2787) Fixes for future parser #773 (paco0x)
  • (MODULES-2490) correct the daemon_dev_package_name for mariadb on redhat #768 (DavidS)
  • Fixes unique server_id within my.cnf Ticket/MODULES-2675 #767 (jkarns87)
  • (MODULES-2683) fix version compare to properly suppress show_diff for… #766 (DavidS)

Other

3.6.1 - 2015-09-22

Full Changelog

Fixed

  • Fix when not managing config file #751 (mcanevet)
  • Fixes improper use of function 'warn' in backup manifest of server. #749 (Herr-Herner)

3.6.0 - 2015-08-11

Full Changelog

Added

  • (MODULES-2340) Implement script functionality for xtrabackup provider #744 (danzilio)

Fixed

3.5.0 - 2015-07-29

Full Changelog

Added

  • Add Solaris support to MySQL module #729 (drewfisher314)
  • Add helper to install puppet/pe/puppet-agent #725 (hunner)
  • length check for usernames should take mysql version into consideration #722 (igalic)

Fixed

  • Don't explode if macaddress isn't set #730 (binford2k)
  • fix Evaluation Error with future parser #728 (timogoebel)
  • (MODULES-2077) Fixes wrong dependency variable #719 (Spredzy)
  • Fixed server package name so it isn't hardcoded to mysql #718 (igalic)

3.4.0 - 2015-05-19

Full Changelog

Added

  • Added options for including/excluding triggers and routines to the mysql::server::backup module #705 (stevesaliman)
  • Adds default values for parameters and align assignments #699 (melan)
  • Added server_id fact #676 (igalic)
  • Add OpenBSD support. #567 (buzzdeee)

Fixed

  • update to proper defaults for freebsd #712 (sethlyons)
  • (fix) - Change default for mysql::server::backup to ignore_triggers =… #711 (cyberious)
  • (fix) - Fix issue where fact is unknown at start - Resolve issue where if known and failed versioncmp would result in idempotency issue on second run #709 (cyberious)
  • MODULES-1981: Revoke and grant difference of old and new privileges #706 (agadelshin)
  • Bugfix on Xtrabackup crons #700 (mvisonneau)
  • fix FreeBSD support for backups #697 (fraenki)
  • Fix regression introduced by adding OpenBSD support. #691 (buzzdeee)
  • Manage service only if managed #688 (mremy)
  • mysql backup: fix regression in mysql_user call #687 (igalic)
  • Only set up ordering between the config file and the service if we're managing the config file. #672 (timmooney)

Other

  • (fix) - Check for mysql_verison before assuming that triggers are a valid permission #708 (cyberious)

3.3.0 - 2015-03-03

Full Changelog

Added

Fixed

3.2.0 - 2015-02-10

Full Changelog

Added

  • Support authentication plugins #645 (dveeden)
  • Add type & provider for managing plugins #641 (dveeden)
  • Support for authentication plugins #640 (dveeden)
  • mysql_install_db freebsd support #616 (takumin)
  • Add new parameters create_root_user and create_root_my_cnf. #578 (franzs)

Fixed

  • MODULES-1759: Remove dependency on stdlib >=4.1.0 #661 (underscorgan)
  • Bugfix: increase minimum stdlib #660 (hunner)
  • Make grant autorequire user #658 (hunner)
  • Revert "(#MODULES-1058) root_password.pp cannot create /root/.my.cnf due... #656 (cyberious)
  • (MODULES-1731) Invalid parameter 'provider' removed from mysql_user instance. #655 (rnelson0)
  • (#MODULES-1058) root_password.pp cannot create /root/.my.cnf due to depe... #651 (lodgenbd)
  • Return an empty string for an empty input. #646 (dveeden)
  • Revert "Support for authentication plugins" #644 (cmurphy)
  • Make sure the example is somewhat secure #638 (dveeden)
  • Do the right thing when fqdn==localhost #637 (dveeden)
  • Future parser fix in params.pp #632 (underscorgan)
  • under Debian 8 package name for ruby mysql biding is called ruby-mysql, ... #629 (Zouuup)
  • ensure mysql-config-file and server package is in place before trying to... #615 (KlavsKlavsen)

3.1.0 - 2014-12-16

Full Changelog

Added

  • (MODULES-1338) Allow mysql::db to import several files #574 (Spredzy)

Fixed

3.0.0 - 2014-11-11

Full Changelog

Added

  • [MODULES-1484] Add support for install_options for all package resources... #591 (damonconway)
  • Improve checks for MySQL user's name. #588 (maxenced)
  • Add support for Gentoo #585 (dev-zero)
  • [MODULES-1333] Add explicit dependencies for mysql_database and mysql_user types #571 (jtopper)
  • (MODULES-552) Add capability to specify column_privileges #570 (fnerdwq)
  • (MODULES-1330) Change order of revokation. #569 (fnerdwq)
  • Parametrize !includedir #509 (xbezdick)

Fixed

  • Fix escaped backslashes in grants #594 (skroll)
  • The old regex requires something after the 'host' part. Fix this. #587 (maxenced)
  • Oracle 7 uses mariadb #582 (cmurphy)
  • Install bzip2 on RHEL 7 and Fedora hosts #580 (cmurphy)
  • Ensure error log is present before trying to manage ownership #579 (cmurphy)
  • Change sql param to default to undef instead of empty string #577 (cmurphy)
  • future parser converts explicit undef to empty string #568 (edestecd)
  • mysql_database: prevent syntax error with collate=>'binary' #565 (mmonaco)
  • Fix issue with puppet_module_install, removed and using updated method f... #564 (cyberious)
  • (MODULES-1287) Pass the backup credentials to 'SHOW DATABASES' #559 (nhinds)
  • Fixes manage_service feature #558 (paramite)
  • Remove all the deprecated code. #553 (apenney)
  • Prevent ERROR 1008 in mysql_database provider #547 (rayl)
  • Make sure we actually notify the service. #546 (igalic)
  • Fix problem with GRANT not recognizing backslash #540 (jsosic)
  • Grants for the backupuser should be conditional #539 (stevesaliman)

2.3.1 - 2014-07-18

Full Changelog

2.3.0 - 2014-07-11

Full Changelog

Added

  • Install MySQL client and daemon dev libraries. #510 (Aethylred)
  • Add quotes to backup password to be able to use more complex passwords. #495 (mauerj)
  • Allow to use different name for db resource other than db name #489 (xcompass)

Fixed

  • Handle changing the datadir properly. #536 (apenney)
  • Change grant provider to ignore grants for non existing users. #530 (spil-jaak)
  • (MODULES-1096) Fix double quote / single quote issue in params.pp. #526 (spil-jaak)
  • fix param client_package_ensure #523 (davidmmiller)
  • Require title of mysql_grant resource to match form user/table #522 (cmurphy)
  • Change the package name in the manifest, too! #513 (underscorgan)
  • Package rename in Ubuntu 14.04. #512 (underscorgan)
  • Rhel7 fixes #511 (underscorgan)
  • Improve this so it works on Ubuntu 14.04. #507 (apenney)
  • lowercase hostname values in qualified usernames #505 (larsks)
  • Replaced database_user with mysql_user #501 (ryansechrest)
  • User needs PROCESS privilege when doing file-per-database backup #500 (nerdlich)
  • [BUG][Critical] Removing extra space after slash in mysqlbackup.sh #490 (seocam)
  • fix #487 mysql not starting if ssl is not disabled #488 (globin)
  • backup script test: Actually loop through a list #479 (igalic)
  • handle mysql compiled without ssl #477 (globin)
  • mysqlbackup.sh should be able to find mysql #457 (igalic)

2.2.3 - 2014-03-04

Full Changelog

Fixed

  • Replace the symlink with the actual file to resolve a PMT issue. #484 (apenney)

2.2.2 - 2014-03-03

Full Changelog

Added

  • Add unsupported infrastructure for excluding OSes we can't test on. #470 (apenney)

Fixed

  • Last SLES fix, don't use the deprecated parameter name. #469 (apenney)
  • This fixes: #467 (apenney)
  • As we're deleting /etc/my.cnf, lets not restart MySQL in the middle #466 (apenney)
  • Fix the case of this, ARGH. #465 (apenney)
  • Make this work in SLES as well As RedHat. #464 (apenney)

2.2.1 - 2014-02-19

Full Changelog

Fixed

  • Fix this test for Debian. This is a total hack for now. #455 (apenney)
  • Fixes for Ubuntu/Debian. #454 (apenney)
  • Repair this by ensuring calls to mysql include the database name. #452 (apenney)

2.2.0 - 2014-02-13

Full Changelog

Added

Fixed

  • Fix this so it installs PE appropriately. #447 (apenney)
  • mysql_deepmerge should treat underscore and dash equivalently, as mysql does #428 (radford)
  • Allow override_options set to undef to completely remove the corresponding key reverting to the mysql default #427 (radford)
  • Allow an option with a value of false to override something that mysql defaults to true rather than eliding it [#426](https://github.com/puppetlabs/puppetlabs-mysql/pull/426) ([radford](https://github.com/radford))
    
  • Actually use upstart on Ubuntu by fixing misspelled variable name #425 (radford)
  • fixed a problem with the mysql_database provider #422 (stevesaliman)
  • Remove duplicate service_provider description #421 (lboynton)
  • mysql_grant fixed to properly handle PROCEDURE grants #412 (dgolja)
  • my.cnf: typo fix (bind-address) + migrate key_buffer (deprecated) to key_buffer_size #395 (doc75)
  • Mysql grant fixes #391 (vicinus)
  • Fix missing mysql::config when including mysql #385 (liwo)
  • Type mysql_grant fixed, spec test created #376 (w32-blaster)
  • Fix having wildcards (%) in hostnames of grants #366 (liwo)

Other

  • changed log_error to log-error and pid_file to pid-file to match the mys... #394 (danielfoglio)

2.1.0 - 2013-11-13

Full Changelog

Added

  • added * for table name in title to match documented usage #355 (tekenny)
  • Add Anchor pattern to client.pp #343 (Bit-Doctor)
  • Adds example to set root password #341 (spuder)
  • Further improvements to our matching - stop trying to guess what #319 (apenney)
  • Improve mysql_grant to work with IPv6. #308 (apenney)
  • Extend coverage to the contents of /etc/my.cnf. #302 (apenney)

Fixed

  • Method for loading .my.cnf file is changed from "defaults-file" to "defaults-extra-file" (mysql option) #367 (w32-blaster)
  • Some options can not take a argument. #364 (jglenn9k)
  • Fix the broken anchoring. #358 (apenney)
  • fix for the fix: database -> database_user #353 (igalic)
  • database_user gives the wrong deprecation warning #345 (igalic)
  • Fix an issue with lowercase privileges. #342 (apenney)
  • Fix ordering causing mysql_grant to reapply. #332 (apenney)
  • Updated my.cnf template to support items with no values #316 (tekenny)
  • Previously we were matching to ensure that usernames matched #312 (apenney)
  • Fix mysql::server::monitor mysql_grant privileges #303 (treydock)
  • Duplicate parameter removed. #298 (apenney)

2.0.1-rc1 - 2013-10-03

Full Changelog

2.0.0-rc1 - 2013-10-03

Full Changelog

Changed

Added

Fixed

1.0.0 - 2013-09-23

Full Changelog

Changed

  • WIP: database_user and database refactoring #248 (apenney)

Added

  • Add option so mysql::backup to dump each database to its own file #253 (treydock)
  • Add HOME environment variable for .my.cnf to mysqladmin command #245 (embeepea)
  • Added support to back up specified databases only with 'mysqlbackup' #244 (cfeskens)
  • Add environment variable for .my.cnf and specs #243 (hunner)
  • Add compatibility classes to handle the backwards incompatible changes. #237 (apenney)

Fixed

  • Fix this so we don't list dates or versions yet. #238 (apenney)
  • Fix puppet 2.6 compatibility #235 (ekohl)
  • Refactor MySQL bindings and client packages. #232 (apenney)
  • Update my.cnf.pass.erb to allow custom socket support #227 (hunner)

0.9.0 - 2013-07-15

Full Changelog

Fixed

  • Remove redundant hard coded replication parameters #224 (3flex)
  • include mysql_client package as a requirement for the db creation #222 (wolfspyre)
  • Fixes suggested by RubyMine (just playing around with it) #219 (apenney)

0.8.1 - 2013-07-10

Full Changelog

0.8.0 - 2013-07-10

Full Changelog

Added

Fixed

0.7.0 - 2013-06-25

Full Changelog

Added

  • Parameterized max_allowed_packet my.conf config setting, because it is needed to setup puppet-dashboard. #179 (msmithgu)

Fixed

0.6.1 - 2013-01-11

Full Changelog

Fixed

0.6.0 - 2013-01-09

Full Changelog

Added

  • Add php support #137 (hunner)
  • Added SuSE support to puppetlabs-mysql #136 (deadpoint)
  • add parameter to remove old files in conf.d dir #131 (saz)
  • allow logging via syslog #130 (saz)
  • Optionally manage the mysqld service #122 (hunner)
  • Mysql::backup Compression Optional #117 (hunner)
  • Add show view privilege for backup user #108 (pbrit)
  • new config define and a small bugfix #93 (savar)

Fixed

0.5.0 - 2012-08-23

Full Changelog

Added

Fixed

  • Change list passed into validate_re to a stringe #105 (derekhiggins)
  • Parameterized pidfile; critical for successful first restart #102 (jkff)
  • Clarify how to grant specific privileges with database_grant #100 (mcary)
  • Revert "Merge pull request #90 from emonty/master" #97 (bodepd)
  • Put that curly brace in the right place this time #96 (branan)
  • Add a missing curly brace #95 (branan)
  • Escape $root_password during execs. #73 (razorsedge)

0.4.0 - 2012-07-24

Full Changelog

Added

  • Add enabled parameter to mysql::server #81 (bodepd)
  • Allow consumer to specify default storage engine for MySQL server. #74 (jmchilton)
  • Added mysql::backup class. #64 (razorsedge)
  • Added mysql::server::account_security class. #63 (razorsedge)

Fixed

0.3.0 - 2012-05-04

Full Changelog

Added

Fixed

  • (#14316) Make privileges case-insensitive #69 (branan)
  • I noticed the following message whilst provisioning using this module: #60 (geogdog)
  • set platform dependent error logfile location #58 (derekhiggins)

0.2.0 - 2012-04-11

Full Changelog

Added

Fixed

  • Fix mysql service on Ubuntu. #50 (nanliu)
  • (#13163) Datadir should be configurable #47 (blkperl)
  • Fix issues from nans massive pull request #45 (bodepd)
  • #11963 In the mysql module the Exec[mysqld-restart] should have more in path #42 (fcharlier)
  • Refactor mysql module. #41 (nanliu)
  • (#12412) mysqltuner.pl update #38 (grooverdan)
  • (#11508) Only load sql_scripts on DB creation #28 (ccaum)
  • Bug #11375: puppetlabs-mysql fails on CentOS/RHEL #27 (justintime)

v0.0.1 - 2011-12-13

Full Changelog