Changing the current count of an Auto Increment value in MySQL?

Posted by RD on Stack Overflow See other posts from Stack Overflow or by RD
Published on 2009-09-25T10:17:27Z Indexed on 2010/05/05 10:08 UTC
Read the original article Hit count: 250

Filed under:

Currently every time I add an entry to my database, the auto increment value increments by 1, as it should. However, it is only at a count of 47. So, if I add a new entry, it will be 48, and then another it will be 49 etc.

I want to change what the current Auto Increment counter is at. I.e. I want to change it from 47 to say, 10000, so that the next value entered, will be 10001. How do I do that?

© Stack Overflow or respective owner

Related posts about mysql