在使用concat连接字符串时出现错误:MySQL Error: Illegal mix of collations for operation 'concat'

  原因:字段操作默认为UTF8的编码,应该绝对统一使用UTF-8,而创建数据库时使用了其它编码。

  MySQL Error: Illegal mix of collations for operation 'concat'

    解决方法:在Navicat for MySQL中删除掉原来的数据库,重新新建,新建时设置字符集和排序规则为UTF-8

  MySQL Error: Illegal mix of collations for operation 'concat'

 

相关文章:

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