I have a MySQL table with an auto increment primary key. I deleted some rows in the middle of the table. Now I have, for example, something like this in the ID column: 12, 1
Or, from PhpMyAdmin, remove "AutoIncrement" flag, save, set it again and save.this resets it.