From 53ae51e7f5e61d2a6a626292244626f9d9e08fe9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 25 Jul 2013 11:42:01 +0200 Subject: [PATCH] Exclude performance_schema database from list of databases for db-schema upload The performance_schema is part of mysql-5.5 as noted by Andreas Granig. --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index f0f83cc..fe32af2 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1662,7 +1662,7 @@ upload_db_dump() { chroot $TARGET /etc/init.d/mysql restart || true # retrieve list of databases - databases=$(chroot $TARGET mysql -B -N -e 'show databases' | grep -ve '^information_schema$' -ve '^mysql$') + databases=$(chroot $TARGET mysql -B -N -e 'show databases' | grep -ve '^information_schema$' -ve '^mysql$' -ve '^performance_schema$') if [ -z "$databases" ] ; then echo "Warning: could not retrieve list of available databases, retrying in 10 seconds."