MySQL InnoDB tables corrupt — how to fix?

后端 未结 2 1448
余生分开走
余生分开走 2020-12-16 08:17

While performing a conditional DELETE operation in one of my InnoDB tables, which apparently required some temporary table to be created in ibdata1, the hard di

相关标签:
2条回答
  • 2020-12-16 08:41

    No guarantees, but you may want to look at: https://launchpad.net/percona-data-recovery-tool-for-innodb

    0 讨论(0)
  • 2020-12-16 08:41

    even when you use table namespaces, the ibdata1 file still contains data that those namespaces depend on, such as the multiversion index number and the transaction log. you can't just delete that file and expect it to work.

    if you're extremely lucky, you can restore/undelete the ibdata1 file and start mysql with the --innodb_force_recovery=3 option. this will allow mysql to start without attempting to rollback/rollforward any transactions.

    if you still hav eproblems, you need to post your mysql server log from startup.

    0 讨论(0)
提交回复
热议问题