简体   繁体   中英

Table restore from backup in existing database in innodb mysql environment

如果innodb数据库相同,并且我需要从以前的备份中还原表,可以复制粘贴的ibd.frm文件吗?还是需要单独还原然后再导入它?

NO. If all you have is files, not a mysqldump, then it is "all or none" for InnoDB.

You could create another MySQL instance (on the same machine or different), mysqldump the one table, then reload it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM