让表从1再开始自增 清空表数据后的样子 删除表后,发现不是1,使用 alter table table_name AUTO_INCREMENT=X (x为你想从几开始自增) 或者使用(truncate table table_name) 参考链接(https://mrxf.github.io/2014/05/31/after-the-empty-navicat-mysql-table-id-since-increased-from-1-again/)