mysql reset auto increment to 0 code example Example: mysql reset auto increment value ALTER TABLE table_name AUTO_INCREMENT = 1;