まとめ
[mysql]
default-character-set=utf8mb4
[mysqld]
character_set_server=utf8mb4
collation-server=utf8mb4_bin
- [mysql] の default-character-set=utf8mb4 で変更される項目
- character_set_client: latin1 -> utf8mb4
- character_set_connection: latin1 -> utf8mb4
- character_set_results: latin1 -> utf8mb4
- [mysqld] の character_set_server=utf8mb4 で変更される項目
- character_set_database: utf8mb4 -> utf8mb4
- character_set_server: utf8mb4 -> utf8mb4
- [mysqld] の collation-server=utf8mb4_bin で変更される項目
- collation_database: utf8mb4_0900_ai_ci -> utf8mb4_bin