Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation...
MySQL进行字符串比较时发生错误今天在做一些多表查询时,MySQL报错:[Err]1267-Illegalmixofcollations(utf8_unicode_ci,IMPLICIT)and(utf8_general_ci,IMPLICIT)foroperation'='问题分析:表之间的编码不一致,或者是比较的字段之间的编码不一致。解决方法:查看表之间的编码是否一致;showcreatet