MySQL 8.0 C API Developer Guide  /  C API Binary Log Interface

Chapter 18 C API Binary Log Interface

The MySQL client/server protocol includes a client interface for reading a stream of replication events from a MySQL server binary log. This capability uses the MYSQL_RPL data structure and a small set of functions to manage communication between a client program and the server from which the binary log is to be read. The following sections describe aspects of this interface in more detail.