错误信息:
django.db.utils.OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='")
解决办法:
1 ALTER TABLE xyz CONVERT TO CHARACTER SET utf8;
错误信息:
django.db.utils.OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='")
解决办法:
1 ALTER TABLE xyz CONVERT TO CHARACTER SET utf8;
转载于:https://www.cnblogs.com/chenlei987/p/7727178.html