在Navicat中与MySQL中执行下面两句,结果是不一样的:
show variables like'char%';
showvariables like 'collation_%';
前者为Latin,后者为utf8。

有教程说在Navicat执行下面语句即可,我试了不行:
set character_set_client= utf8;
set character_set_connection =utf8 ;
set character_set_results=utf8 ;

最终解决:

解决Navicat中文乱码问题(mac版本,MySQL显示正常)
参考文章:
mac navicat for mac汉字显示乱码:
https://blog.csdn.net/qq284489030/article/details/80551951
关于Navicat和MYSQL字符集不统一出现的中文乱码问题:
https://www.jianshu.com/p/1bea39f17fcb

相关文章:

  • 2021-10-24
  • 2021-09-25
  • 2021-12-25
  • 2022-02-16
  • 2021-08-01
  • 2021-05-11
  • 2022-12-23
  • 2021-07-17
猜你喜欢
  • 2021-07-09
  • 2021-05-16
  • 2022-01-25
  • 2021-08-31
  • 2021-06-11
相关资源
相似解决方案