SHOW BINARY LOGS SHOW MASTER LOGS
        Lists the binary log files on the server. This statement is used
        as part of the procedure described in
        Section 12.5.1.1, “PURGE BINARY LOGS Syntax”, that shows how to determine
        which logs can be purged.
      
mysql> SHOW BINARY LOGS;
+---------------+-----------+
| Log_name      | File_size |
+---------------+-----------+
| binlog.000015 |    724935 |
| binlog.000016 |    733481 |
+---------------+-----------+
        SHOW MASTER
        LOGS was added in MySQL 3.23.38. As of MySQL 4.1.1,
        you can also use SHOW BINARY
        LOGS, which is equivalent. The
        File_size column is displayed as of MySQL
        5.0.7.
      

User Comments
Add your own comment.