how to reset primary key auto increment in sql phpmyadmin code example Example: php myadmin reset auto incremente ALTER TABLE table_name AUTO_INCREMENT=0