mysql #1366 - Incorrect integer value 翻译:整数值不正确,错误的值。 出现这个错误的原因时因为字段设置了INT类型 但插入数据的是否值为空的报错。 从mysql 5.1 起 ,int 字段类型必填。