Documentation Home
MySQL 5.5 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual

13.7.5.24 SHOW MASTER STATUS Syntax

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
  Posted by John Doe on January 4, 2008
"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?

Sign Up Login You must be logged in to post a comment.