使用命令: truncate table sys_system_settings; 其中sys_system_settings为表名。截断表可以用于删除表中的所有数据,并自动恢复主键id从新计数。 另外可在Navicat中手动操作: 在表上点右键->截断表