Skip to content

Instantly share code, notes, and snippets.

@zirosas
Created February 28, 2014 04:31
Show Gist options
  • Save zirosas/9265297 to your computer and use it in GitHub Desktop.
Save zirosas/9265297 to your computer and use it in GitHub Desktop.
Reset AUTO_INCREMENT in MySQL
ALTER TABLE tablename AUTO_INCREMENT = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment