JOURNAL ::: PICTURES ::: CODE ::: INFO ::: MEDIA ::: PORTFOLIO
WRITING ::: ABOUT ::: FUQ ::: VEGGIE ::: LINKS ::: MISC

MySQL auto_increment index reset

Random Info #3
Thursday, February 20, 2003

Suppose you delete a journal entry and the auto_increment id field in your database is set one too high. Use this:

ALTER TABLE [table_name] AUTO_INCREMENT=1;

SEARCH ME

Banned from Heritage Park. Click here.

INTERESTING LINKS
Oral arguments Dec 8:
Gilmore v. Gonzales

Hemp.Net
Harmonica beatboxing
Unskilled and unaware
Vocabula
Download Firefox!
Why ternary?
InWa

SELECTED CRAP
Local currency
Fly without ID
Schmechnology
Aiding terrorism
Tea suggestions
Watching them
Democrats!
My neural code
Hobbyism
Hackers
Small claims loss
I think I was stoned

© 1997-2008 Ben Livingston. All rights reserved.