mysql数据库 数据清零切id从1开始计算

truncate table 表名;

比如 truncate table user('user为表名')

原文地址:https://www.cnblogs.com/xm666/p/14085992.html