]> arthur.barton.de Git - MkMySqlDump.git/blobdiff - bin/mkmysqldump
Ignore "performance_schema"
[MkMySqlDump.git] / bin / mkmysqldump
index 8489f2eeaab359f5d864513a6d083b9137488d05..dea8a8a0cd7d2cf33e1f765416d78f85f8b0637d 100755 (executable)
@@ -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!"