I have located backups for this database in our back up system. Unfortunately we will not be able to restore the database as it contains Innodb tables.With our current backup software we don't have a way of restoring databases containing Innodb tables. We basically just restore the raw database folder and its files which works fine for MyIsam based databases. The Innodb engine however maintains a server wide file for "tracking" all Innodb data, so a raw restore would basically confuse the Innodb engine as data in the server wide file would not be in sync with the raw restored files, effectively rendering the database corrupt and unusable. Our control panel does actually display a notice about Innodb when you create a new database. We're of course trying to come up with a better way of backing up such databases, but at this time restoring databases containing Innodb tables is not possible. We're really sorry about this.

解决方案 »

  1.   


    将英语译成中文(简体)
    我已经找到了这是我们的注册系统后台数据库备份。不幸的是我们将无法恢复数据库,因为它包含InnoDB表。与我们目前的备份软件,我们还没有恢复数据库包含Innodb表的方式。我们基本上只是还原原始数据库文件的文件夹及其作品对MyISAM基础的数据库的罚款。但是在InnoDB引擎维护了“跟踪“所有InnoDB数据服务器范围的文件,因此基本上会还原原始混淆InnoDB引擎在服务器范围的文件数据不会被还原的文件与原始同步,有效地渲染数据库损坏而无法使用。其实我们的控制面板不显示关于Innodb把一注意到,当你创建一个新的数据库。我们正试图拿出一个这样的数据库备份的过程中更好的办法,但在这个恢复数据库包含Innodb表的时间是不可能的。我们真的对此表示歉意。
      

  2.   

    晕。 Google翻译我也会的楼上的能解释下具体意思吗?
      

  3.   

    哪些地方不明白?
    INNODB引擎数据,要用MYSQLDUMP备份再恢复,不能直接COPY
      

  4.   

    如果之前没有做过 MYSQLDUMP 备份的话呢。
      

  5.   

    如果没做过MYSQLDUMP备份,则只能依靠从数据库创建至今的二进制日志,如是二进制日志也没有,则基本上没有办法了。 只能去 
    1) 恢复 表的FRM文件 得到表结构
    2) 恢复IBDATA文件,以得到含有数据的文件。
    3) 分析IBDATA文件,取出表中的记录数据 (这个需要大量时间和非常熟悉INNODB的源代码或者INNODB的数据存储结构)