MySQL: Auto-increment value: 0 is smaller than max used value: xx
Posted
by Rhodri
on Server Fault
See other posts from Server Fault
or by Rhodri
Published on 2010-04-13T07:50:04Z
Indexed on
2010/04/15
9:23 UTC
Read the original article
Hit count: 295
Increasingly I'm getting tables having to be repaired dwith the message returned of: Auto-increment value: 0 is smaller than max used value: xx
This has happened on tables with 200 rows and tables with ~3 million rows, but so far the same few tables have had the problem. I'm running MySQL 5.0.22.
The repairs are run by a script which checks every minute for the need to repair MySQL tables. I also have an automated backup of the 6 Gigabyte database running very two hours and the repairs always get trigged around the time of the backup.
Any ideas?
© Server Fault or respective owner