MySQL Forums
Forum List  »  Newbie

Re: How can I force a MySQL DB to become corrupted?
Posted by: Jon Stephens
Date: February 05, 2016 02:32AM

That's certainly a different question from the usual!

Open up a couple of .frm and .idb files in a text editor and change a couple of characters at random, and resave them. That ought to do it. :)

I'd suggest that you make a backup copy of your data directory first, BTW.

cheers,

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: How can I force a MySQL DB to become corrupted?
February 05, 2016 02:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.