mysql表关联查询报错: 1267 - Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for opera ;
这是因为表和表之间的编码不一致导致的,执行下边的语句可以统一一下编码。
ALTER TABLE tableName CONVERT TO CHARACTER SET utf8 collate utf8_general_ci
mysql表关联查询报错: 1267 - Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for opera ;
这是因为表和表之间的编码不一致导致的,执行下边的语句可以统一一下编码。
ALTER TABLE tableName CONVERT TO CHARACTER SET utf8 collate utf8_general_ci