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

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

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

  

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

  

 

posted on 2017-07-11 16:52  我来乔23  阅读(2193)  评论(0编辑  收藏  举报

导航