MYSQL – how to fix Auto Increment

This is very simple:

Just run this command on your MYSQL:

ALTER TABLE table_name AUTO_INCREMENT=1

It’ll fix auto increment starting at record 1.

Facebook Comments