MySQL: Difference between revisions

Jump to navigation Jump to search
1 byte added ,  25 October 2018
m
Line 195: Line 195:
#: Create the table using the generated script, or previously existing script that matches the backup structure.
#: Create the table using the generated script, or previously existing script that matches the backup structure.
# Replace .ibd file.
# Replace .ibd file.
#: Remove the newly created .idb file by executing the following: <source lang="mysql">> ALTER TABLE mytablename IMPORT TABLESPACE;</source>
#: Remove the newly created .idb file by executing the following: <source lang="mysql">> ALTER TABLE mytablename DISCARD TABLESPACE;</source>
#: Copy the restored .ibd file into the folder that contains the .ibd file.
#: Copy the restored .ibd file into the folder that contains the .ibd file.
# Reactivate the table
# Reactivate the table

Navigation menu