Centralize MySQL Flavor handling in tests.
Give better error message for InvalidLagSeconds.
Remove extra create_db because it breaks MariaDB.
Fix python indentation.