mysql id自增恢复从1开始

alter table user auto_increment = 1;(把user表的自增id重置为1)

你可能感兴趣的:(mysql)