MySQL InnoDB database restore

后端 未结 4 1224
无人共我
无人共我 2020-12-29 12:17

I have to restore a database that has been inadvertently DROPped in MySQL 5.0. From checking the backup files, I only seem to have .FRM files to hold the database data.

4条回答
  •  天涯浪人
    2020-12-29 12:45

    The detailed solution you can found here:

    http://www.unilogica.com/mysql-innodb-recovery/ (Article in Portuguese)

    Besides the flag of innodb_force_recovery, I found another solution: innodb_file_per_table, that splits InnoDB tables in each file like MyISAM tables.

    In a crash recovery you can lost less data than in single file ibdata1.

提交回复
热议问题