It's raining cats and dogs.

無駄なことなんてないはず

auto_incrementの初期値を設定する方法

ユーザーIDを1000番以下はテストアカウントとかにしたいなぁと。

テーブルを作るとき

create table users (
  int unsigned auto_increment not null,
  ・・・
)
auto_increment = 1001;

後で変えるとき

alter table users auto_increment=1001;

設定した内容を確認

show table status where name = 'users';

でauto_increment値に次の番号が入ってる