Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a simple question. Supose a table with 100 rows, and AUTO_INCREMENT id. Is there a way to make inserted rows have id's e.g. starting from 1000 (1000, 1001, 1002 ...)

thank you in advance!

PS: please don't advise set insert_id as it's necessary to do it, each time before insert

share|improve this question

To start with an AUTO_INCREMENT value other than 1, you can set that value with CREATE TABLE or ALTER TABLE, like this:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.