From b99ccd6303b599ea9ac90c17f9b40e08265df04e Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 24 Jan 2012 01:23:33 +0100 Subject: 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. --- handlers/mysql.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers') diff --git a/handlers/mysql.in b/handlers/mysql.in index 185a98a..65deebb 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -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 -- cgit v1.2.3