我在windows上安装了一个四节点mysql集群: 管理节点192.168.2.69 数据节点A 192.168.2.66 数据节点B 192.168.2.67 SQL节点192.168.2.78
我可以毫无问题地启动前 3 个,但 SQL 节点卡在以下警告中:
2017-04-07T13:55:23.970111Z 0 [Note] IPv6 is available.
2017-04-07T13:55:23.970111Z 0 [Note] - '::' resolves to '::';
2017-04-07T13:55:23.970111Z 0 [Note] Server socket created on IP: '::'.
2017-04-07T13:55:24.110707Z 0 [Note] Event Scheduler: Loaded 0 events
2017-04-07T13:55:24.127269Z 0 [Note]
2017-04-07T13:55:24.127269Z 0 [Note] NDB Index Stat: Wait for cluster to start
2017-04-07T13:55:24.127269Z 2 [Note] NDB Util: Wait for cluster to start
2017-04-07T13:55:24.127269Z 1 [Note] NDB Binlog: Check for incidents
2017-04-07T13:55:24.127269Z 0 [Note] NDB Index Stat: Started
2017-04-07T13:55:24.127269Z 2 [Note] NDB Util: Started
2017-04-07T13:55:24.127269Z 1 [Note] NDB Binlog: Wait for cluster to start
2017-04-07T13:55:24.127269Z 0 [Note] NDB Index Stat: created Ndb object 'Ndb Index Stat', ref: 0x80070004
2017-04-07T13:55:24.141956Z 1 [Note] NDB Binlog: DISCOVER TABLE Event: REPL$mysql/ndb_schema
2017-04-07T13:55:34.513769Z 0 [Note] NDB Index Stat: execute index stats listener failed: error 1427 line 2546
2017-04-07T13:56:15.502173Z 0 [Note] NDB Index Stat: execute index stats listener failed: error 1427 line 2546
这会重复“NDB Index Stat:执行索引统计监听器失败:错误 1427 第 2546 行” 我找不到有关此错误的任何帮助。有人可以帮我解决这个问题吗?
编辑
如果我在一台服务器上安装所有节点,mysqld 运行得很好。
最佳答案
问题是数据节点机192.168.2.67上的windows防火墙开启,关闭即可解决问题。
关于mysql - 无法启动mysql集群SQL节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43280049/