MySQL表备份 李博帅 2023-07-12 188 阅读1分钟 场景一:不留存原表,只保存备份表 表重命名 rename table old_table to new_table; 场景二:保留原表,并备份 1. 根据老表创建新表结构 create table new_table like old_table; 2. 导入老表数据到新表 insert into new_table select * from old_table;