从 MySQL 主库查看从库信息

mysql> show slave hosts;
+-----------+-----------------+------+-----------+--------------------------------------+
| Server_id | Host | Port | Master_id | Slave_UUID |
+-----------+-----------------+------+-----------+--------------------------------------+
| 4 | 192.168.206.132 | 3306 | 3 | 04591d7a-df42-11e9-92af-000c29047128 |
+-----------+-----------------+------+-----------+--------------------------------------+
1 row in set (0.00 sec)