Mysql 相关技术
1、Mysql 让主键 归0:
TRUNCATE TABLE *
2、只清空数据表,主键不归0:
DELETE FROM 'TABLE'
3、重启数据库:
/etc/init.d/mysql restart
2021-10-14 02:24:51
Mysql 相关技术
1、Mysql 让主键 归0:
TRUNCATE TABLE *
2、只清空数据表,主键不归0:
DELETE FROM 'TABLE'
3、重启数据库:
/etc/init.d/mysql restart