场景:mysql服务器同一台,要从 a 数据库中把表 t 复制到数据库 b 中。 进入数据库b,执行: 语句: create table t like a.t; INSERT t SELECT * FROM a.t;