#COLLATIONS

MySQL Error number: 4162; Symbol: ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS; SQLSTATE: HY000

文档解释Errornumber:4162;Symbol:ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS;SQLSTATE:HY000Message:‘%s’isauserdefinedcollation.Userdefinedcollationsaredep...
IT技术学习 ·2023-06-19

Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '<>'

1.问题今天又在mysql中遇到了,吐血。 SQL最后加上COLLATEutf8mb4_unicode_ciSELECTt2.cust_idascust_id_ex,t1.*from(SELECT*fromcredit_nigeria.applyWHEREupdateTime>"2019-11-10")...

mysql: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '= 的解决

昨天把mysql里所有table的varchar字段的字符集,批量换成了utf8mb4/utf8mb4_unicode_ci,以便能保存一些emoji火星文,结果有一个sql语句执行时,报错如下:Illegalmixofcollations(utf8_unicode_ci,IMPLICIT)and(utf8_gener...