$ SELECT schema_name , default_character_set_name FROM information_schema.schemata;
CREATE DATABASE database_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
CREATE DATABASE database_name DEFAULT CHARACTER SET euckr COLLATE euckr_korean_ci ;
$ ALTER DATABASE database_name DEFAULT CHARACTER SET utf8mb4;
$ ALTER DATABASE database_name DEFAULT CHARACTER SET utf8mb4;
[mysqld]
collation-server = utf8mb4_unicode_ci
init-connect='SET NAMES utf8mb4'
character-set-server = utf8mb4
[client]
default-character-set=utf8mb4
[mysql]
default-character-set=utf8mb4
```