How to reset AUTO_INCREMENT in MySQL ?
< 1 min readTo reset the AUTO_INCREMENT value for a table in MySQL, you can use the ALTER TABLE statement with the AUTO_INCREMENT option. Here’s an example of how to reset the AUTO_INCREMENT value for a table named table_name to 1: This will reset the AUTO_INCREMENT value for the table_name table to 1, and the next time you…
