Syntax\n------\n\nSHOW RELAYLOG ['connection_name'] EVENTS\n    [IN 'log_name'] [FROM pos] [LIMIT [offset,] row_count]\n    [ FOR CHANNEL 'channel_name']\n\nDescription\n-----------\n\nOn slaves, this command shows the events in the relay log. If 'log_name' is not specified, the first relay log is shown.\n\nSyntax for the LIMIT clause is the same as for SELECT ... LIMIT.\n\nUsing the LIMIT clause is highly recommended because the SHOW RELAYLOG EVENTS command returns the complete contents of the relay log, which can be quite large.\n\nThis command does not return events related to setting user and system variables. If you need those, use mariadb-binlog.\n\nOn the master, this command does nothing.\n\nRequires the SLAVE MONITOR privilege.\n\nRequires the SLAVE MONITOR privilege (>= MariaDB 10.5.9), the REPLICATION SLAVE ADMIN privilege (>= MariaDB 10.5.2) or the REPLICATION SLAVE privilege (<= MariaDB 10.5.1).\n\nconnection_name\n\nIf there is only one nameless master, or the default master (as specified by the default_master_connection system variable) is intended, connection_name can be omitted. If provided, the SHOW RELAYLOG statement will apply to the specified master. connection_name is case-insensitive.\n\nThe FOR CHANNEL keyword was added for MySQL compatibility. This is identical as using the channel_name directly after SHOW RELAYLOG.\n\nFOR CHANNEL is not available.\n\nURL: https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-relaylog-events