Re: How can I force a MySQL DB to become corrupted?
Posted by:
Shay _Fox
Date: February 05, 2016 03:04PM
Generally you can't back up the databases by copying them from /var/lib/mysql and then copying them back because they get corrupted, you have to use mysqldump instead.
So if you go into one of the folders for the database in /var/lib/mysql, ie /var/lib/mysql/myDB/ and mess with some of the files that ought to do it :-)
So I would recommend copying one of the files, editing a little with a hex editor, and copying it back.
Subject
Written By
Posted
February 04, 2016 12:11PM
February 05, 2016 02:32AM
Re: How can I force a MySQL DB to become corrupted?
February 05, 2016 03:04PM
February 05, 2016 08:25PM
February 05, 2016 06:36AM
February 10, 2016 12:56PM
February 20, 2016 03:30PM
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.