MySQL Instance Character Set and Collation
Config via docker-compose File
1 | version: '3.5' |
Config in my.cnf
edit my.cnf file
1 | # append character configs to mysqld section of my.cnf file |
restart your mysql service
1 | systemctl restart mysql |
Database Character Set and Collation
1 | CREATE DATABASE db_name |
Table Character Set and Collation
1 | CREATE TABLE tbl_name (column_list) |
Column Character Set and Collation
1 | CREATE TABLE t1 |