Scripts used to recover messed up innodb databases