2

So I hava a database (mysql) in my website with a table in it, in this table I have 10 columns for every row the first is an int primary key auto increase, the second one is the name that's unique they can't be the same, and the others are just text fields, so I have been entering data into it, the problem have come when I hit the 999 id mark that's the 999 row, I can't insert row 1000 it doesn't accept it at least I'm not able to see it in the table, and if I try to add it again it tells me that the name it already exists, so what can I do? Why Am I not able to add more rows?, why it thinks the name exists if the row with that name does not exists? Can I get any advise from, in advance Thanks.

4

1 回答 1

1

我将 id 列从 int 更改为 bigint,这样我就可以越过 999 行!

于 2012-05-17T04:21:28.457 回答