mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: xxx Master_User: xxx Master_Port: 3306 Connect_Retry: 60 Master_Log_File: xxx.008281 Read_Master_Log_Pos: 221858204 Relay_Log_File: xxx.000004 Relay_Log_Pos: 221858345 Relay_Master_Log_File: xxx.008281 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: %.norep% Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 221858204 Relay_Log_Space: 221858683 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: Yes 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: 102 Master_UUID: c16e94e5-48ba-11ed-ae77-0a760191bb45 Master_Info_File: mysql.slave_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: c16e94e5-48ba-11ed-ae77-0a760191bb45:30644375-31337291 Executed_Gtid_Set: 0bdcb409-dac1-11ec-9e5d-3ebe82e460a1:1-349199631, 14f8b016-daaa-11ec-88a4-1268daa9e1f1:1-3158919, 328d7b5d-fe96-11ea-849f-00e0ed7af257:1-227061, 429be97c-af7e-11ec-87d5-f2aef8d24a2d:1-9612520, 64834b30-3a01-11ed-b4c2-1268daa9e1f1:1-120986401, 65673e44-0cd1-11ec-8651-00e0ed7aef20:1-57861, 672858d0-b073-11ec-81af-0e204bd2f596:1-172840518, 67b6cce5-1b25-11ec-ac10-00e0ed7aef20:1-18726825, 69ec2031-8858-11ec-b4bb-0e204bd2f596:1-76, 744ac957-dad0-11ec-b626-f2aef8d24a2d:1-47012, 7f2d6459-ac89-11ec-acc8-0e204bd2f596:1-2, 88ee29b8-d883-11ec-a53a-0a760191bb45:1-2658009, 8b959051-dabe-11ec-acb9-0e48b13b5503:1-27171046, 9167236d-a441-11ea-9638-00e0ed7af39d:1-475540187, 95342ef6-69fd-11ed-9f25-0a7bb988a532:1-11625, a54a45d1-48c0-11ed-b540-0e6d271a1891:1-9156304, a7d8e92a-ca72-11ec-a1e6-00e0ed7af39d:1-1796, c16e94e5-48ba-11ed-ae77-0a760191bb45:1-31337291, d36950fc-2931-11ed-b0a7-02b0908cb14e:1-1137:6930154-6948763, de20d5e7-a441-11ea-8993-00e0ed7aef20:1-4394090 Auto_Position: 1 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec) mysql> stop slave; Query OK, 0 rows affected (0.01 sec) mysql> change master to master_host='NOT_ROUTABLE'; Query OK, 0 rows affected (0.03 sec) mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Master_Host: NOT_ROUTABLE Master_User: xxx Master_Port: 3306 Connect_Retry: 60 Master_Log_File: Read_Master_Log_Pos: 4 Relay_Log_File: xxx.000001 Relay_Log_Pos: 4 Relay_Master_Log_File: Slave_IO_Running: No Slave_SQL_Running: No Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: %.norep% Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 0 Relay_Log_Space: 150 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: Yes Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: NULL 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: 0 Master_UUID: Master_Info_File: mysql.slave_master_info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: 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: 0bdcb409-dac1-11ec-9e5d-3ebe82e460a1:1-349199631, 14f8b016-daaa-11ec-88a4-1268daa9e1f1:1-3158919, 328d7b5d-fe96-11ea-849f-00e0ed7af257:1-227061, 429be97c-af7e-11ec-87d5-f2aef8d24a2d:1-9612520, 64834b30-3a01-11ed-b4c2-1268daa9e1f1:1-120986401, 65673e44-0cd1-11ec-8651-00e0ed7aef20:1-57861, 672858d0-b073-11ec-81af-0e204bd2f596:1-172840518, 67b6cce5-1b25-11ec-ac10-00e0ed7aef20:1-18726825, 69ec2031-8858-11ec-b4bb-0e204bd2f596:1-76, 744ac957-dad0-11ec-b626-f2aef8d24a2d:1-47012, 7f2d6459-ac89-11ec-acc8-0e204bd2f596:1-2, 88ee29b8-d883-11ec-a53a-0a760191bb45:1-2658009, 8b959051-dabe-11ec-acb9-0e48b13b5503:1-27171046, 9167236d-a441-11ea-9638-00e0ed7af39d:1-475540187, 95342ef6-69fd-11ed-9f25-0a7bb988a532:1-11625, a54a45d1-48c0-11ed-b540-0e6d271a1891:1-9156304, a7d8e92a-ca72-11ec-a1e6-00e0ed7af39d:1-1796, c16e94e5-48ba-11ed-ae77-0a760191bb45:1-31337450, d36950fc-2931-11ed-b0a7-02b0908cb14e:1-1137:6930154-6948763, de20d5e7-a441-11ea-8993-00e0ed7aef20:1-4394090 Auto_Position: 1 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec) mysql> start slave; Query OK, 0 rows affected (0.00 sec) mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Connecting to master Master_Host: NOT_ROUTABLE Master_User: svc_replication Master_Port: 3306 Connect_Retry: 60 Master_Log_File: Read_Master_Log_Pos: 4 Relay_Log_File: xxx.000001 Relay_Log_Pos: 4 Relay_Master_Log_File: Slave_IO_Running: Connecting Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: %.norep% Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 0 Relay_Log_Space: 150 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: Yes 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: 0 Master_UUID: Master_Info_File: mysql.slave_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: 0bdcb409-dac1-11ec-9e5d-3ebe82e460a1:1-349199631, 14f8b016-daaa-11ec-88a4-1268daa9e1f1:1-3158919, 328d7b5d-fe96-11ea-849f-00e0ed7af257:1-227061, 429be97c-af7e-11ec-87d5-f2aef8d24a2d:1-9612520, 64834b30-3a01-11ed-b4c2-1268daa9e1f1:1-120986401, 65673e44-0cd1-11ec-8651-00e0ed7aef20:1-57861, 672858d0-b073-11ec-81af-0e204bd2f596:1-172840518, 67b6cce5-1b25-11ec-ac10-00e0ed7aef20:1-18726825, 69ec2031-8858-11ec-b4bb-0e204bd2f596:1-76, 744ac957-dad0-11ec-b626-f2aef8d24a2d:1-47012, 7f2d6459-ac89-11ec-acc8-0e204bd2f596:1-2, 88ee29b8-d883-11ec-a53a-0a760191bb45:1-2658009, 8b959051-dabe-11ec-acb9-0e48b13b5503:1-27171046, 9167236d-a441-11ea-9638-00e0ed7af39d:1-475540187, 95342ef6-69fd-11ed-9f25-0a7bb988a532:1-11625, a54a45d1-48c0-11ed-b540-0e6d271a1891:1-9156304, a7d8e92a-ca72-11ec-a1e6-00e0ed7af39d:1-1796, c16e94e5-48ba-11ed-ae77-0a760191bb45:1-31337450, d36950fc-2931-11ed-b0a7-02b0908cb14e:1-1137:6930154-6948763, de20d5e7-a441-11ea-8993-00e0ed7aef20:1-4394090 Auto_Position: 1 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec) mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Connecting to master Master_Host: NOT_ROUTABLE Master_User: xxx Master_Port: 3306 Connect_Retry: 60 Master_Log_File: Read_Master_Log_Pos: 4 Relay_Log_File: xxx.000001 Relay_Log_Pos: 4 Relay_Master_Log_File: Slave_IO_Running: Connecting Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: %.norep% Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 0 Relay_Log_Space: 150 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: Yes 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: 2003 Last_IO_Error: error connecting to master 'xxx@xxx:3306' - retry-time: 60 retries: 1 Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 0 Master_UUID: Master_Info_File: mysql.slave_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: 230209 17:34:52 Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: 0bdcb409-dac1-11ec-9e5d-3ebe82e460a1:1-349199631, 14f8b016-daaa-11ec-88a4-1268daa9e1f1:1-3158919, 328d7b5d-fe96-11ea-849f-00e0ed7af257:1-227061, 429be97c-af7e-11ec-87d5-f2aef8d24a2d:1-9612520, 64834b30-3a01-11ed-b4c2-1268daa9e1f1:1-120986401, 65673e44-0cd1-11ec-8651-00e0ed7aef20:1-57861, 672858d0-b073-11ec-81af-0e204bd2f596:1-172840518, 67b6cce5-1b25-11ec-ac10-00e0ed7aef20:1-18726825, 69ec2031-8858-11ec-b4bb-0e204bd2f596:1-76, 744ac957-dad0-11ec-b626-f2aef8d24a2d:1-47012, 7f2d6459-ac89-11ec-acc8-0e204bd2f596:1-2, 88ee29b8-d883-11ec-a53a-0a760191bb45:1-2658009, 8b959051-dabe-11ec-acb9-0e48b13b5503:1-27171046, 9167236d-a441-11ea-9638-00e0ed7af39d:1-475540187, 95342ef6-69fd-11ed-9f25-0a7bb988a532:1-11625, a54a45d1-48c0-11ed-b540-0e6d271a1891:1-9156304, a7d8e92a-ca72-11ec-a1e6-00e0ed7af39d:1-1796, c16e94e5-48ba-11ed-ae77-0a760191bb45:1-31337450, d36950fc-2931-11ed-b0a7-02b0908cb14e:1-1137:6930154-6948763, de20d5e7-a441-11ea-8993-00e0ed7aef20:1-4394090 Auto_Position: 1 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: 1 row in set (0.00 sec)