alter table user AUTO_INCREMENT 1;

# 注释:alter table user AUTO_INCREMENT 此处写你想让id从几开始增长的数字