slave:/data01/mysql# ls -lr *relay*
-rw-rw---- 1 mysql mysql 71 Jun 8 15:17 relay-log.info
-rw-rw---- 1 mysql mysql 52 Jun 8 14:22 mysqld-relay-bin.index
-rw-rw---- 1 mysql mysql 4142618 Jun 8 15:17 mysqld-relay-bin.000003
-rw-rw---- 1 mysql mysql 134463345 Jun 8 14:22 mysqld-relay-bin.000002
mysql> show variables like '%relay_log%';
+---------------------------+----------------+
| Variable_name | Value |
+---------------------------+----------------+
| max_relay_log_size | 0 |
| relay_log | |
| relay_log_basename | |
| relay_log_index | |
| relay_log_info_file | relay-log.info |
relay-log命名规则
最新推荐文章于 2024-03-03 21:12:32 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)