Part of the Introduction to Change Data Capture series

Change Data Capture in Microsoft SQL Server

In MySQL, CDC typically relies on the binary log (binlog,) a built-in feature that is enabled by default and logs all changes to a database in a structured format.

MySQL replication and backups use binary logs to sync events from primary to secondary replicas and to “catch-up” a newly-restored backup from when it was saved to the present.