diff --git a/scripts/mysql_secure_installation.sh b/scripts/mysql_secure_installation.sh index c92cb1262df..2df8789803b 100644 --- a/scripts/mysql_secure_installation.sh +++ b/scripts/mysql_secure_installation.sh @@ -185,7 +185,7 @@ remove_test_database() { fi echo " - Removing privileges on test database..." - do_query "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'" + do_query "DELETE FROM mysql.db WHERE Db='test' OR Db LIKE 'test\\_%'" if [ $? -eq 0 ]; then echo " ... Success!" else