diff --git a/scripts/test-env/prepare-db.sh b/scripts/test-env/prepare-db.sh old mode 100644 new mode 100755 index dacfb19c..80ed46d2 --- a/scripts/test-env/prepare-db.sh +++ b/scripts/test-env/prepare-db.sh @@ -40,7 +40,7 @@ for db_name in "${!DB_MAP[@]}"; do log_info "Restoring $db_name from $backup_file ($(du -h "$backup_path" | cut -f1))..." # Create DB if not exists - $MYSQL_CMD -e "CREATE DATABASE IF NOT EXISTS \\`$db_name\\` DEFAULT CHARACTER SET utf8mb4;" + $MYSQL_CMD -e "CREATE DATABASE IF NOT EXISTS \`$db_name\` DEFAULT CHARACTER SET utf8mb4;" # Import zcat "$backup_path" | $MYSQL_CMD "$db_name" 2>&1 | tail -1