Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
[client]
default-character-set=utf8mb4
Code Block
languagetext
[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
languagesql
SET collation_server = utf8mb4_unicode_ci;
SET PERSIST collation_server = utf8mb4_unicode_ci;

...