1

我正在尝试将实例添加到我的 innodb 集群。我关闭了两台主机(本地虚拟机)上的防火墙。

这是cluster.addInstance('root@innodb-2:3306');命令的输出:

ERROR: Unable to start Group Replication for instance 'innodb-2:3306'.
The MySQL error_log contains the following messages:
  2021-10-15 19:13:31.922188 [System] [MY-013587] Plugin group_replication reported: 'Plugin 'group_replication' is starting.'
  2021-10-15 19:13:47.112664 [System] [MY-010597] 'CHANGE MASTER TO FOR CHANNEL 'group_replication_applier' executed'. Previous state master_host='<NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''. New state master_host='<NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''.
  2021-10-15 19:14:13.496929 [Error] [MY-011735] Plugin group_replication reported: '[GCS] Error on opening a connection to innodb-1:33061 on local port: 33061.'
  2021-10-15 19:14:23.498488 [Error] [MY-011735] Plugin group_replication reported: '[GCS] Error on opening a connection to innodb-1:33061 on local port: 33061.'
  2021-10-15 19:14:33.508595 [Error] [MY-011735] Plugin group_replication reported: '[GCS] Error on opening a connection to innodb-1:33061 on local port: 33061.'
  2021-10-15 19:14:43.520173 [Error] [MY-011735] Plugin group_replication reported: '[GCS] Error on opening a connection to innodb-1:33061 on local port: 33061.'
  2021-10-15 19:14:47.373813 [Error] [MY-011640] Plugin group_replication reported: 'Timeout on wait for view after joining group'
  2021-10-15 19:14:47.373884 [Error] [MY-011735] Plugin group_replication reported: '[GCS] The member is already leaving or joining a group.'
Cluster.addInstance: Group Replication failed to start: MySQL Error 3092 (HY000): innodb-2:3306: The server is not configured properly to be an active member of the group. Please see more details on error log. (RuntimeError)

我已经dba.configureInstance('root@innodb-2:3306')提前做好了。

4

0 回答 0