diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh index 78399ac3599..d0821e663c4 100644 --- a/scripts/mysqlhotcopy.sh +++ b/scripts/mysqlhotcopy.sh @@ -289,6 +289,7 @@ if ( defined $opt{regexp} ) { while ( my ($db_name) = $sth_dbs->fetchrow_array ) { next if $db_name =~ m/^information_schema$/i; next if $db_name =~ m/^performance_schema$/i; + next if $db_name =~ m/^sys$/i; push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o ); } }