coercible专题

mysql中文异常,Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for

今天在操作mysql的时候,输入中文的时候出现异常,Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 。 上网查了下原因是因为表的字符集不一致。 SHOW VARIABLES LIKE 'character_set_%'; 查看一下