查数据库时出现字段字符集不一致错误
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation ‘=’
sql 数据库的字段字符集不一样
两种解决方法:
1.修改数据库成一样
2.在其中的一个列后面加上 COLLATE utf8mb4_unicode_ci/utf8mb4_general_ci 进行指定。
微信扫一扫
查数据库时出现字段字符集不一致错误
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation ‘=’
sql 数据库的字段字符集不一样
两种解决方法:
1.修改数据库成一样
2.在其中的一个列后面加上 COLLATE utf8mb4_unicode_ci/utf8mb4_general_ci 进行指定。
相关推荐