Recently we announced MySQL Data Recovery Portal. Here we automated some data recovery routines and published web interface to them.
First, it was a tool to estimate recovery chances from corrupted InnoDB tablespaces.
Now it’s even more exciting and useful feature – recovery table structure from FRM files online.
There are several methods to recover MySQL table structure from FRM files.
On MySQL Data Recovery Portal we utilize a combination of them.
Fake table method
The idea is to create a dummy InnoDB table, replace its .frm file
with .frm file we want to recover and run SHOW CREATE
TABLE
.
Let’s say we have actor.frm
and we want to get
structure of table actor
.
Algorithm is following:
Create a dummy table with the same name, actor
. The …