MySQL、 auto incrementの確認と変更

Mar 15, 2019 17:33 · 66 words · 1 minute read

確認

show table status where Name = '{{ テーブル名 }}'\G

変更

ALTER TABLE '{{ テーブル名 }}' AUTO_INCREMENT = 1000000;

参考

tweet Share