错误:1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)
项目在执行迁移,生成库表后,出现错误:(1267,"Illegalmixofcollations(latin1_swedish_ci,IMPLICIT)and(utf8_general_ci,COERCIBLE)foroperation'='")造成该错误的原因是由于新生成的表的字符集是latin1_swedish_ci,而原有的字符集需要utf8_general_ci,所以报错。解决方法:修改所