mysql 查询报错 1267 - Illegal mix of collations

mysql 查询报错 1267 - Illegal mix of collations

详细报错: 1267 - Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for

主要的原因其实就是两张表的字符集不一样改一下就行了。
注: 改了表还是报错的话,那就是表内的字段没有改,再把表内的字段字符集改一下就好了

猜你喜欢

转载自blog.csdn.net/weixin_42947972/article/details/132352983