Q

Recovering records from the transaction log

I have deleted records from a table and have no backup. Can I recover them from the transaction log?
If you have a binary log that goes back to the very beginning of your database you can replay the log using the mysqlbinlog application. See http://dev.mysql.com/doc/mysql/en/mysqlbinlog.html for more information on its use. You will need to edit the log and remove the DELETE statement that caused the problem before replaying the log.
This was first published in August 2004

Dig deeper on Open source databases

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close