SHOW MASTER STATUS
Provides status information about the binary log files of the master.
This statement requires the SUPER
or the REPLICATION_CLIENT
privilege.
To see information about the current GTIDs in the binary log, use the gtid_binlog_pos
variable.
SHOW MASTER STATUS; +--------------------+----------+--------------+------------------+ | File | Position | Binlog_Do_DB | Binlog_Ignore_DB | +--------------------+----------+--------------+------------------+ | mariadb-bin.000016 | 475 | | | +--------------------+----------+--------------+------------------+ SELECT @@global.gtid_binlog_pos; +--------------------------+ | @@global.gtid_binlog_pos | +--------------------------+ | 0-1-2 | +--------------------------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/show-master-status/