SHOW MASTER STATUS
This statement provides status information about the binary log
files of the master. It requires either the
SUPER
or
REPLICATION CLIENT
privilege.
Example:
mysql> SHOW MASTER STATUS;
+---------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+---------------+----------+--------------+------------------+
| mysql-bin.003 | 73 | test | manual,mysql |
+---------------+----------+--------------+------------------+
User Comments
"show slave status" on a master returns empty set, but "show master status" on a slave doesn't.
Seems odd to stash this node only under "SQL Statements for Controlling Master Servers." It means _something_ in the context of "SQL Statements for Controlling Slave Servers," but what?
Add your own comment.