...
Code Block | ||
---|---|---|
| ||
[client] default-character-set=utf8mb4 |
Code Block | ||
---|---|---|
| ||
[mysql] default-character-set=utf8mb4 |
...
In MySQL version 8.0 you can save changes using the SET PERSIST command and the setting will be saved into the mysqld-auto.cnf file found in the data folder: C:\ProgramData\MySQL\MySQL Server 8.0\Data
Code Block | ||
---|---|---|
| ||
SET collation_server = utf8mb4_unicode_ci; SET PERSIST collation_server = utf8mb4_unicode_ci; |
...