Q
Problem solve Get help with specific problems with your technologies, process and projects.

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 last published in August 2004

Dig Deeper on Linux servers

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseLinux

SearchServerVirtualization

SearchCloudComputing

Close