您好,登錄后才能下訂單哦!
有想學習PXC高可用架構(gòu)可以給我留言~~
PXC 啟動第一個節(jié)點報錯如下:
2019-08-12T03:24:10.282944Z 0 [Note] WSREP: Current view of cluster as seen by this node
view ((empty))
2019-08-12T03:24:10.283160Z 0 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view (pc.wait_prim_timeout): 110 (Connection timed out)
at gcomm/src/pc.cpp:connect():159
2019-08-12T03:24:10.283195Z 0 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():209: Failed to open backend connection: -110 (Connection timed out)
2019-08-12T03:24:10.283350Z 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1514: Failed to open channel 'pxc_cluster' at 'gcomm://196.55.7.33:4106,196.55.7.34:4106,196.55.7.35:4106': -110 (Connection timed out)
2019-08-12T03:24:10.283372Z 0 [ERROR] WSREP: gcs connect failed: Connection timed out
2019-08-12T03:24:10.283391Z 0 [ERROR] WSREP: Provider/Node (gcomm://196.55.7.33:4106,196.55.7.34:4106,196.55.7.35:4106) failed to establish connection with cluster (reason: 7)
2019-08-12T03:24:10.283402Z 0 [ERROR] Aborting
2019-08-12T03:24:10.283412Z 0 [Note] Giving 0 client threads a chance to die gracefully
2019-08-12T03:24:10.283424Z 0 [Note] WSREP: Waiting for active wsrep applier to exit
解決方法
添加一個參數(shù)--wsrep-new-cluster
[root@localhost 3306]# ./mysql.server -P 3306 start --wsrep-new-cluster
Starting MySQL (Galera Cluster)... SUCCESS!
[root@localhost 3306]#
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。