puppetlabs/puppetlabs-mysql — pull request #497 by DracoBlue (2014-04-16 19:52:56+00:00)
Title: Ignore internal mysql databases when creating a backup

In my cases I usually don't want to backup the internal event + information_schema table of mysql, since backupping them raises the following error in:
``` console
# /usr/local/sbin/mysqlbackup.sh
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
```

This small pull request, uses the INFORMATION_SCHEMA table and excludes "information_schema", "performance_schema", "test", "mysql" from the dumped databases.