命令是没有错的,第二个虚拟机也加入了swarm网络,可以正常查到;但是查看了日志,有提示:【WSREP: failed to open gcomm backend connection: 131: No address to connect (FATAL)
at gcomm/src/gmcast.cpp:connect_precheck():310】这是什么情况?
[ERROR] WSREP: failed to open gcomm backend connection: 131: No address to connect (FATAL)
at gcomm/src/gmcast.cpp:connect_precheck():310
2018-12-09T14:28:29.401353Z 0 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():209: Failed to open backend connection: -131 (State not recoverable)
2018-12-09T14:28:29.401527Z 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1514: Failed to open channel 'PXC' at 'gcomm://pxc1': -131 (State not recoverable)
[ERROR] WSREP: gcs connect failed: State not recoverable
[ERROR] WSREP: Provider/Node (gcomm://pxc1) failed to establish connection with cluster (reason: 7)
[ERROR] Aborting
[Note] Giving 0 client threads a chance to die gracefully
[Note] WSREP: Waiting for active wsrep applier to exit
[Note] WSREP: Service disconnected.
[Note] WSREP: Waiting to close threads......
[Note] WSREP: Some threads may fail to exit.
[Note] Binlog end
[Note] mysqld: Shutdown complete