To remove the new IBD file, execute the following sql command: ALTER TABLE mytable DISCARD TABLESPACE; This command removes the link between the table and the table space, and removes the IBD file.
How do I use an IBD file?
- Use mysqlbackup with the –only-innodb or –only-innodb-with-frm option to back up the InnoDB installation.
- Run mysqlbackup … apply-log to create a consistent version of the backup database.
- Start a second (dummy) mysqld server on the backup and let it clean up the .
What is .FRM file in MySQL?
A FRM file contains the formatting information or structure data for a table in a MySQL database. It specifies the table stored in the database and defines the fields and structure of the table.