mySQL auto increment problem: Duplicate entry '4294967295' for key 1

后端 未结 7 862
-上瘾入骨i
-上瘾入骨i 2021-01-25 02:30

I have a table of emails.

The last record in there for an auto increment id is 3780, which is a legit record. Any new record I now insert is being inserted right there.

7条回答
  •  [愿得一人]
    2021-01-25 02:54

    I had the same problem with the exact same number. My problem was that I had the field on int(10) when I changed it to bigint(20) it solved my problem.

    If others are having this problem. Check your field size first. :)

提交回复
热议问题