MySQL autoincrement column jumps by 10- why?

Please do not change the auto_increment_increment. ClearDB is doing this on purpose. It’s explained in the documentation:

ClearDB uses circular replication to provide master-master MySQL
support. As such, certain things such as auto_increment keys (or
sequences) must be configured in order for one master not to use the
same key as the other, in all cases. We do this by configuring MySQL
to skip certain keys, and by enforcing MySQL to use a specific offset
for each key used. The reason why we use a value of 10 instead of 2 is
for future development.

Leave a Comment