To make this 'permanent', in my.cnf:

[client]
default-character-set=utf8
[mysqld]
character-set-server = utf8

To check, go to the client and show some variables:

SHOW VARIABLES LIKE 'character_set%';

Verify that they're all utf8, except ..._filesystem, which should be binary and ..._dir, that points somewhere in the MySQL installation.

相关文章:

  • 2022-01-11
  • 2022-02-11
  • 2022-01-21
  • 2018-09-06
  • 2021-12-26
  • 2022-02-28
  • 2022-12-23
  • 2021-08-09
猜你喜欢
  • 2021-10-16
  • 2022-01-14
  • 2021-10-27
  • 2021-08-14
  • 2022-01-12
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案