MySQL InnoDB database restore

后端 未结 4 1240
无人共我
无人共我 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:53

    .frm files are not the data files, they just store the "data dictionary information" (see MySQL manual). InnoDB stores its data in ib_logfile* files. That's what you need in order to do a backup/restore. For more details see here.

提交回复
热议问题