Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.