Mysql
 SQL >> Base de données >  >> RDS >> Mysql

Restaurer une table MySQL à partir de fichiers .frm et .ibd

Utilisez mysqlfrm pour retrouver la structure.

mysqlfrm --diagnostic /path/example_table.frm

Ensuite, recréez la table, puis importez l’espace de tables.

ALTER TABLE example_table DISCARD TABLESPACE;
ALTER TABLE example_table IMPORT TABLESPACE;