错误信息:
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
相关资源:python使用Django库向mysql数据库插入数据