Skip to content
Snippets Groups Projects
Commit b99ccd63 authored by intrigeri's avatar intrigeri
Browse files

mysql: Don't attempt to dump performance_schema database (Redmine#3741).

Locking its tables require privileges the 'debian-sys-maint'@'localhost' user is
generally not granted.
parent 0c4b164a
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ version 1.0 -- UNRELEASED
example.dup.
. Add support for RackSpace's CloudFiles.
Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.
mysql:
. Don't attempt to dump performance_schema database (Redmine#3741).
version 0.9.10 -- September 23, 2011
backupninja changes
......
......@@ -256,7 +256,7 @@ then
for db in $databases
do
DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"
if [ "$db" = "information_schema" ]
if [ "$db" = "information_schema" ] || [ "$db" = "performance_schema" ]
then
DUMP_BASE="${DUMP_BASE} --skip-lock-tables"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment