mysql 5 #1264常见错误解决

Mysql升级到5以后,自动编号就不能''了

提示#1264 - Out of range value adjusted for column 'id' at row 1

所以以后要这样写 insert into test id values(null)

或者这样insert into test id values(0)

Leave a Reply

Your email address will not be published. Required fields are marked *