Syntax\n------\n\nSHOW [MASTER | BINLOG] STATUS\n\nDescription\n-----------\n\nProvides status information about the binary log files of the master.\n\nThis statement requires the BINLOG MONITOR privilege.\n\nThis statement requires the SUPER privilege and the REPLICATION_CLIENT privilege.\n\nThe following improved functionality is available from MariaDB 12.3.\n\nTo see information about the current GTIDs in the binary log, use the gtid_binlog_pos variable. It is enabled by default, and helps find the current state of the master server. (Previously, this required two statements, SHOW MASTER STATUS and SELECT @@global.gtid_binlog_pos.)\n\nExamples\n--------\n\nSHOW BINLOG STATUS;\n+--------------------+----------+--------------+------------------+\n| File               | Position | Binlog_Do_DB | Binlog_Ignore_DB |\n+--------------------+----------+--------------+------------------+\n| mariadb-bin.000016 |      475 |              |                  |\n+--------------------+----------+--------------+------------------+\nSELECT @@global.gtid_binlog_pos;\n+--------------------------+\n| @@global.gtid_binlog_pos |\n+--------------------------+\n| 0-1-2                    |\n+--------------------------+\n\nURL: https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-binlog-status