Duplicate entry '2147483647' for key 1

前端 未结 12 774
南笙
南笙 2020-12-18 21:41

Strange problem I can\'t seem to get my head around. I have a table in a MySQL database with the following structure...

    CREATE TABLE IF NOT EXISTS `tblb         


        
12条回答
  •  抹茶落季
    2020-12-18 22:17

    2147483647 is the largest int value for mysql. Just change the type from int to bigint.

提交回复
热议问题