From: Alexander Barton Date: Tue, 4 Aug 2015 10:07:59 +0000 (+0200) Subject: Ignore "performance_schema" X-Git-Url: https://arthur.barton.de/gitweb/?p=MkMySqlDump.git;a=commitdiff_plain;h=fa17e870817de2e0751562005cc7a417da3c7cc7 Ignore "performance_schema" --- diff --git a/bin/mkmysqldump b/bin/mkmysqldump index 8489f2e..dea8a8a 100755 --- a/bin/mkmysqldump +++ b/bin/mkmysqldump @@ -92,7 +92,9 @@ echo "Getting list of databases from server ..." DATABASES=$( mysql -h "$MYHOST" -u "$MYUSER" $PWSWITCH -e 'show databases' \ | grep "^\| " | cut -d' ' -f2 | grep -v "Database" \ - | grep -v "information_schema" | grep -v "mysql" + | grep -v "information_schema" \ + | grep -v "performance_schema" \ + | grep -v "mysql" ) if [ $? -ne 0 ]; then echo "Failed to get list of databases! Aborting!"