google / mysql-ripple

Ripple, a server that can serve as a middleman in MySQL replication
Apache License 2.0
370 stars 47 forks source link

Not able to open the binary log files using mysqlbinlog utility. #25

Open pranags opened 4 years ago

pranags commented 4 years ago

Hi - I was using the Ripple from the link : https://lefred.be/content/ripple-binlog-server-for-mysql/ I was able to download all the binlogs by connecting to master. But when I tried to open the binlogs downloaded using the mysqlbinlog utility - I get the error : ERROR: Error in Log_event::read_log_event(): 'Found invalid event in binary log', data_len: 43, event_type: -106 ERROR: Could not read entry at offset 359: Error in log format or read error.

My master is 5.7.25 binlog_format is MIXED Async replication.

Any pointers to debug this further ?

Thanks!

pivanof commented 4 years ago

Unfortunately Ripple creates binlog files now that cannot be read with unmodified mysqlbinlog utility (due to its own support for encryption of binlogs). :( Let me think what would be the best way to make this work...

pranags commented 4 years ago

Thank you!