master [localhost] {msandbox} ((none)) > SELECT @@server_id, @@server_uuid, @@port; SHOW SLAVE HOSTS; SHOW SLAVE STATUS\G +-------------+--------------------------------------+--------+ | @@server_id | @@server_uuid | @@port | +-------------+--------------------------------------+--------+ | 100 | 00016745-1111-1111-1111-111111111111 | 16745 | +-------------+--------------------------------------+--------+ 1 row in set (0.00 sec) +-----------+--------+-------+-----------+--------------------------------------+ | Server_id | Host | Port | Master_id | Slave_UUID | +-----------+--------+-------+-----------+--------------------------------------+ | 300 | node-3 | 16747 | 100 | 00016747-3333-3333-3333-333333333333 | | 200 | node-2 | 16746 | 100 | 00016746-2222-2222-2222-222222222222 | +-----------+--------+-------+-----------+--------------------------------------+ 2 rows in set (0.00 sec) *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 127.0.0.1 Master_User: rsandbox Master_Port: 16746 Connect_Retry: 60 Master_Log_File: mysql-bin.000002 Read_Master_Log_Pos: 651 Relay_Log_File: mysql-relay.000006 Relay_Log_Pos: 320 Relay_Master_Log_File: mysql-bin.000002 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 651 Relay_Log_Space: 894 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 Last_IO_Error: Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 200 Master_UUID: 00016746-2222-2222-2222-222222222222 Master_Info_File: /home/jgagne/sandboxes/rsandbox_5_7_22/master/data/master.info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: Auto_Position: 0 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec) --- slave1 [localhost] {msandbox} ((none)) > SELECT @@server_id, @@server_uuid, @@port; SHOW SLAVE HOSTS; SHOW SLAVE STATUS\G +-------------+--------------------------------------+--------+ | @@server_id | @@server_uuid | @@port | +-------------+--------------------------------------+--------+ | 200 | 00016746-2222-2222-2222-222222222222 | 16746 | +-------------+--------------------------------------+--------+ 1 row in set (0.00 sec) +-----------+--------+-------+-----------+--------------------------------------+ | Server_id | Host | Port | Master_id | Slave_UUID | +-----------+--------+-------+-----------+--------------------------------------+ | 100 | node-1 | 16745 | 200 | 00016745-1111-1111-1111-111111111111 | +-----------+--------+-------+-----------+--------------------------------------+ 1 row in set (0.00 sec) *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 127.0.0.1 Master_User: rsandbox Master_Port: 16745 Connect_Retry: 60 Master_Log_File: mysql-bin.000002 Read_Master_Log_Pos: 651 Relay_Log_File: mysql-relay.000005 Relay_Log_Pos: 706 Relay_Master_Log_File: mysql-bin.000002 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 651 Relay_Log_Space: 1075 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 Last_IO_Error: Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 100 Master_UUID: 00016745-1111-1111-1111-111111111111 Master_Info_File: /home/jgagne/sandboxes/rsandbox_5_7_22/node1/data/master.info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: Auto_Position: 0 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec) --- slave2 [localhost] {msandbox} ((none)) > SELECT @@server_id, @@server_uuid, @@port; SHOW SLAVE HOSTS; SHOW SLAVE STATUS\G +-------------+--------------------------------------+--------+ | @@server_id | @@server_uuid | @@port | +-------------+--------------------------------------+--------+ | 300 | 00016747-3333-3333-3333-333333333333 | 16747 | +-------------+--------------------------------------+--------+ 1 row in set (0.00 sec) Empty set (0.00 sec) *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 127.0.0.1 Master_User: rsandbox Master_Port: 16745 Connect_Retry: 60 Master_Log_File: mysql-bin.000002 Read_Master_Log_Pos: 651 Relay_Log_File: mysql-relay.000005 Relay_Log_Pos: 864 Relay_Master_Log_File: mysql-bin.000002 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 651 Relay_Log_Space: 1233 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 Last_IO_Error: Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 100 Master_UUID: 00016745-1111-1111-1111-111111111111 Master_Info_File: /home/jgagne/sandboxes/rsandbox_5_7_22/node2/data/master.info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: Auto_Position: 0 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec)