in mysql start id from 1000 with auto_increment code example Example: mysql set id auto increment ALTER TABLE users AUTO_INCREMENT=1001;