In this blog post, we’ll look at a workaround for MySQL bug 72804.
Recently I worked on a ticket where a customer performed a point-in-time recovery PITR using a large set of binary logs. Normally we handle this by applying the last backup, then re-applying all binary logs created since the last backup. In the middle of the procedure, their new server crashed. We identified the binary log position and tried to restart the PITR from there. However, using the option
--start-position
, the restore failed with the error “The BINLOG statement of type
Table_map was not preceded by a format description
BINLOG statement.” This is a known bug and is reported as MySQL
…