  | | | Corrupting MySQL on purpose for testing | Corrupting MySQL on purpose for testing 2007-11-06 - By mos
Back At 02:18 PM 11/6/2007, Richard Edward Horner wrote: >Hi, > >I'm working on a program that will run in the event that tables are >crashed or corrupt. Can anyone recommend a good method for crashing my >tables or corrupting them so I have some test cases? I'm mostly >interested in MyISAM and InnoDB table types. > >I was thinking I would just start an infinite loop with an UPDATE >statement in it and then kill -9 the mysqld process. > >Any better ideas?
Sure, power off the computer or throw the breakers when doing updates to simulate a power failure. That's sure to work. :)
Mike
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=mysql@(protected)
|
|
 |