Skip to content

Reset the auto increment value for a MySQL table

The following example changes the auto increment value for the table named “applytable” to 100. This means that the next time you insert a record into this table the value of the auto incremental primary key will be 100.

If the highest value for the column is already greater than 100 then it will be set to the highest value plus 1.


The relevent info are highlighted with red circles in the screenshot below.

Leave a Reply

Your email address will not be published.

48 − 45 =