mysql字符集问题Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_estonian_ci,IMPLICIT) for o

Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_estonian_ci,IMPLICIT) for operation '

在连表查询的时候,表之间的编码不一致导致的

解决方式 :

ALTER TABLE users CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

发布了168 篇原创文章 · 获赞 16 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/ajax_yan/article/details/105122524