【MySQL】 java.sql.SQLException: Illegal mix of collations

MySQL进行字符串比较时发生错误 java.sql.SQLException: Illegal mix of collations (utf8_esperanto_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='; 解决方法: 一、查看表之间的编码是否一致; show create table <表名>;
相关文章
相关标签/搜索