今天查询时出现一点问题:
mysql> SELECT col FROM tbl1 a LEFT JOIN tbl2 b ON a.name= b.name; 1267 - Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
发现两个表的Collation不一样,不过改为一样还是不能查询(暂时还不知道为什么),不过解决办法已经有了:
SELECT col FROM tbl1 a LEFT JOIN tbl2 b ON CONVERT(a.name USING utf8) = CONVERT(b.name USING utf8…





