For testing purposes I am trying to recreate a copy of a live database, this live instance is set up with the flag 'character_set_server utf8'. The databases 'information_schema', 'mysql' and our production database all have collation 'utf8-general-ci' and characterset 'utf8'. The databases 'performance_schema' and 'sys' have 'utf8mb4_0900_ai_ci/utf8mb4'.
I have set up a new test instance, same version of mysql (8.0) and with the same characterset flag. But when I try to create a new database (CREATE SCHEMA asdf
DEFAULT CHARACTER SET utf8;), either via GCP Console, or via a direct SQL connection, I cant seem to create a database with collation 'utf8-general-ci' and characterset 'utf8'. It keeps setting them to 'utf8mb3_bin/utf8mb3'.