热线电话:13121318867

登录
2018-10-24 阅读量: 840
Python写ORM插入MySql数据库报错

报错信息:1366 Incorrect string value: '

解决流程:

1、修改MySql的字符编码格式修改成utf8格式的编码

2、改变表的编码,为 utf8mb4 或者 utf8,运行:


alter table 表名 convert to character set utf8mb4;

0.0000
1
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子