mariadb-binlog & mysqlbinlog

Command prints contents of Binary Log or Relay Log files.

Note

The mariadb-binlog command can also be run using the legacy command from 10.3 and 10.2: mysqlbinlog.