[mysql] 解决SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column

这是因为字段是int类型的,但是传递的默认值是'' 空字符串

应该传递个数字的默认值

 

解决

SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column
posted @ 2021-09-24 11:32  唯一客服系统开发笔记  阅读(1542)  评论(0编辑  收藏  举报