亚洲综合原千岁中文字幕_国产精品99久久久久久久vr_无码人妻aⅴ一区二区三区浪潮_成人h动漫精品一区二区三

主頁 > 知識庫 > MySQL MGR搭建過程中常遇見的問題及解決辦法

MySQL MGR搭建過程中常遇見的問題及解決辦法

熱門標簽:地圖標注費用是多少 百應電話機器人優勢 電話外呼系統改號 啥是企業400電話辦理 南昌三維地圖標注 武漢網絡外呼系統服務商 怎樣在地圖標注銷售區域 外呼系統打電話上限是多少 曲靖移動外呼系統公司

MGR搭建過程中遇到的一些故障

    實際中我一共部署了三套MGR環境,分別是單機多實例的MGR環境,多機同網段的MGR環境,多機不同網段的MGR環境,部署的過程大同小異,但是還是有一些有出入的地方,這里把部署過程遇到的故障列舉出來,供大家參考,如果能有幸解決您在部署時候的問題,那是極好的。

01 常見故障1

[ERROR] Plugin group_replication reported: 'This member has more executed transactions than those present in the group. Local transactions: bb874065-c485-11e8-8b52-000c2934472e:1 > Group transactions: 3db33b36-0e51-409f-a61d-c99756e90155:1-11'
[ERROR] Plugin group_replication reported: 'The member contains transactions not present in the group. The member will now exit the group.'
[Note] Plugin group_replication reported: ‘To force this member into the group you can use the group_replication_allow_local_disjoint_gtids_join option'

解決方案:

根據提示打開set global group_replication_allow_local_disjoint_gtids_join=ON;

02 常見故障2

[ERROR] Plugin group_replication reported: 'This member has more executed transactions than those present in the group. Local transactions: bb874065-c485-11e8-8b52-000c2934472e:1 > Group transactions: 3db33b36-0e51-409f-a61d-c99756e90155:1-15'
[Warning] Plugin group_replication reported: 'The member contains transactions not present in the group. It is only allowed to join due to group_replication_allow_local_disjoint_gtids_join option'
[Note] Plugin group_replication reported: 'This server is working as secondary member with primary member address localhost.localdomaion:3306.'

解決方案:

該故障和故障1的不同之處在于該問題出現時,參數group_replication_allow_local_disjoint_gtids_join已經設置成為on了。解決該問題的方法是執行reset master就行,然后重新在主節點和從節點開啟通道,即

CHANGE MASTER TO MASTER_USER='rpl_user', MASTER_PASSWORD='rpl_pass' FOR CHANNEL 'group_replication_recovery';

03 常見故障3

本機測試時,遇到下面的問題

[Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 [ERROR] Slave I/O for channel 'group_replication_recovery': error connecting to master 'rpl_user@localhost.localdomaion:' - retry-time: 60 retries: 1, Error_code: 2005
 [ERROR] Plugin group_replication reported: 'There was an error when connecting to the donor server. Please check that group_replication_recovery channel credentials and all MEMBER_HOST column values of performance_schema.replication_group_members table are correct and DNS resolvable.'
 [ERROR] Plugin group_replication reported: 'For details please check performance_schema.replication_connection_status table and error log messages of Slave I/O for channel group_replication_recovery.'
 [Note] Plugin group_replication reported: 'Retrying group recovery connection with another donor. Attempt /'

解決方案:

這個問題是由于測試環境上三臺主機的hostname設置成為了同一個名稱,改了hostname之后,這個問題就解決了。

04 常見故障4

#在線上正式環境操作時,出現下面的錯誤,
mysql--root@localhost:(none) ::>>START GROUP_REPLICATION;
ERROR (HY000): The server is not configured properly to be an active member of the group. Please see more details on error log.
#查看log文件,發現只有一個warning:
2019-02-20T07::30.233937Z [Warning] Plugin group_replication reported: 'Group Replication requires slave-preserve-commit-order to be set to ON when using more than 1 applier threads.

解決方案:

mysql--root@localhost:(none) ::>>show variables like "%preserve%";
+--------------------------------+---------+
| Variable_name    | Value |
+--------------------------------+---------+
| slave_preserve_commit_order | OFF |
+--------------------------------+---------+
 row in set (0.01 sec)
mysql--root@localhost:(none) ::>>set global slave_preserve_commit_order=;
Query OK, rows affected (0.00 sec)

05 常見問題5

2019-02-20T08::31.088437Z [Warning] Plugin group_replication reported: '[GCS] Connection attempt from IP address 192.168.9.208 refused. 
Address is not in the IP whitelist.'
2019-02-20T08::32.088676Z [Warning] Plugin group_replication reported: '[GCS] Connection attempt from IP address 192.168.9.208 refused.
 Address is not in the IP whitelist.'

解決方法:

在my.cnf中配置group_replication_ip_whitelist參數即可解決

06 常見問題6

2019-02-20T08::44.087492Z [Warning] Plugin group_replication reported: 'read failed'
2019-02-20T08::44.096171Z [ERROR] Plugin group_replication reported: '[GCS] The member was unable to join the group. Local port: 24801'
2019-02-20T08::14.065775Z [ERROR] Plugin group_replication reported: 'Timeout on wait for view after joining group

解決方案:

    將my.cnf中的參數group_replication_group_seeds設置為只包含除自身外其他group成員的ip地址以及內部通信端口,如果寫成group所有成員的IP地址,則會出現這個錯誤,這和相同網段的MGR部署方式有些差異。

07 常見問題7

 [ERROR] Plugin group_replication reported: ‘[GCS] Error on opening a connection to oceanbase07: on local port: '.'
 [ERROR] Plugin group_replication reported: ‘[GCS] Error on opening a connection to oceanbase08: on local port: '.'
 [ERROR] Plugin group_replication reported: ‘[GCS] Error on opening a connection to oceanbase07: on local port: '.'

解決方案:

未開通防火墻上的固定端口,開通防火墻之后即可解決

08 常見問題8

[Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 [ERROR] Slave I/O for channel 'group_replication_recovery': Master command COM_REGISTER_SLAVE failed: Access denied for user 'rpl_user'@'%' (using password: YES) (Errno: 1045), Error_code: 1597
 [ERROR] Slave I/O thread couldn't register on master
 [Note] Slave I/O thread exiting for channel 'group_replication_recovery', read up to log 'FIRST', position 

解決方案:

漏掉了某個節點的用戶,為了保險起見,在group節點上執行

CREATE USER rpl_user@'%';

GRANT REPLICATION SLAVE ON *.* TO rpl_user@'%' IDENTIFIED BY 'rpl_pass';

09 常見問題9

 [ERROR] Failed to open the relay log './localhost-relay-bin.000011' (relay_log_pos ).
 [ERROR] Could not find target log file mentioned in relay log info in the index file './work_NAT_1-relay-bin. index' during relay log initialization.
 [ERROR] Slave: Failed to initialize the master info structure for channel ''; its record may still be present in 'mysql.slave_master_info' table, consider deleting it.
 [ERROR] Failed to open the relay log './localhost-relay-bin-group_replication_recovery.000001' (relay_log_pos  ).
 [ERROR] Could not find target log file mentioned in relay log info in the index file './work_NAT_1-relay-bin-group_replication_recovery.index' during relay log initialization.
 [ERROR] Slave: Failed to initialize the master info structure for channel 'group_replication_recovery'; its record may still be present in 'mysql.slave_master_info' table, consider deleting it.
 [ERROR] Failed to create or recover replication info repositories.
 [ERROR] Slave SQL for channel '': Slave failed to initialize relay log info structure from the repository, Error_code: 
 [ERROR] /usr/local/mysql/bin/mysqld: Slave failed to initialize relay log info structure from the repository
 [ERROR] Failed to start slave threads for channel ''

解決方案:

    這個錯誤是由于slave節點由于某種原因導致找不到relay-log的位置了,需要重新reset slave

以上就是MySQL MGR搭建過程中常遇見的問題及解決辦法的詳細內容,更多關于MySQL MGR搭建的資料請關注腳本之家其它相關文章!

您可能感興趣的文章:
  • MySQL 8.0.15配置MGR單主多從的方法
  • MySQL MGR 有哪些優點
  • mysql MGR 單主多主模式切換知識點詳解
  • mysql 8.0.18 mgr 搭建及其切換功能
  • MySQL 8.0.18使用clone plugin重建MGR的實現
  • 詳解MySQL 5.7 MGR單主確定主節點方法

標簽:黑河 滄州 資陽 吉林 隨州 荊州 甘南 錦州

巨人網絡通訊聲明:本文標題《MySQL MGR搭建過程中常遇見的問題及解決辦法》,本文關鍵詞  MySQL,MGR,搭建,過程,中常,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《MySQL MGR搭建過程中常遇見的問題及解決辦法》相關的同類信息!
  • 本頁收集關于MySQL MGR搭建過程中常遇見的問題及解決辦法的相關信息資訊供網民參考!
  • 推薦文章
    国产91精品一区| 黄视频网站免费| 九九久久国产精品| 一级女性全黄生活片免费| 日韩一级黄色片| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 国产网站免费| 国产成人精品一区二区视频| 国产一区国产二区国产三区| 一级女性大黄生活片免费| 99久久精品国产片| 99色精品| a级毛片免费全部播放| 日韩中文字幕在线亚洲一区| 99色视频在线观看| 精品久久久久久中文字幕2017| 欧美另类videosbestsex高清| 国产不卡精品一区二区三区| 久久久久久久免费视频| 国产一区二区精品久| 亚洲精品影院久久久久久| 欧美电影免费| 亚洲不卡一区二区三区在线 | 国产麻豆精品视频| 日本在线www| 日本免费乱理伦片在线观看2018| 美女免费毛片| 成人免费观看网欧美片| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 色综合久久天天综线观看| 成人影院一区二区三区| 欧美一区二区三区在线观看| 黄视频网站免费| 国产极品精频在线观看| 国产a免费观看| 国产极品白嫩美女在线观看看| 一级女人毛片人一女人| 精品毛片视频| 黄视频网站免费观看| 97视频免费在线| 99久久精品国产国产毛片| 国产麻豆精品高清在线播放| 国产网站免费| 午夜欧美成人久久久久久| 天天做人人爱夜夜爽2020| 国产视频在线免费观看| 日韩一级精品视频在线观看| 九九久久99综合一区二区| 欧美1区| 国产一区二区精品久久| 国产原创视频在线| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 韩国三级视频在线观看| 成人免费网站久久久| a级毛片免费全部播放| 国产不卡在线看| 青青久久精品国产免费看| 国产不卡在线观看| 天天做日日爱夜夜爽| 九九精品在线播放| 日韩字幕在线| 国产高清在线精品一区二区| 成人免费网站久久久| 91麻豆爱豆果冻天美星空| 国产一区二区精品| 久久精品人人做人人爽97| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 国产高清在线精品一区二区 | 毛片高清| 成人免费观看视频| 国产91精品一区二区| 久久久成人影院| 欧美另类videosbestsex| 九九九在线视频| 日本免费看视频| 久久成人性色生活片| 国产不卡在线播放| 999精品视频在线| 国产一区精品| 亚洲女人国产香蕉久久精品| 国产视频一区在线| 天天做日日爱夜夜爽| 国产麻豆精品hdvideoss| 欧美另类videosbestsex久久| 尤物视频网站在线| 成人高清视频免费观看| 国产极品精频在线观看| 中文字幕一区二区三区 精品| 国产极品精频在线观看| 精品毛片视频| 999久久久免费精品国产牛牛| 成人av在线播放| 成人影院一区二区三区| 精品国产亚洲人成在线| 精品国产一区二区三区精东影业| 欧美1区| 日韩一级黄色片| 高清一级做a爱过程不卡视频| 国产不卡精品一区二区三区| 四虎影视久久| a级毛片免费观看网站| 精品久久久久久免费影院| 日韩在线观看视频免费| 99色视频在线| 国产91丝袜在线播放0| 四虎久久精品国产| 日韩中文字幕在线观看视频| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 亚洲精品久久玖玖玖玖| 天天色色网| 久久国产精品只做精品| 黄色短视频网站| 国产91精品一区二区| 成人a级高清视频在线观看| 国产a免费观看| 欧美a免费| 精品视频在线看 | 亚洲精品久久玖玖玖玖| 日韩在线观看视频网站| 亚欧视频在线| 国产伦理精品| 国产a网| 午夜家庭影院| 精品国产香蕉在线播出| 你懂的在线观看视频| 免费一级片网站| 国产高清视频免费| 可以免费在线看黄的网站| 国产一区二区精品久| 亚欧成人乱码一区二区| 国产不卡高清在线观看视频| 国产极品白嫩美女在线观看看| 国产成人女人在线视频观看| 精品视频在线观看免费| 成人在激情在线视频| 亚洲www美色| 韩国毛片 免费| 青青久久精品| 日韩一级黄色| 成人免费观看男女羞羞视频| 国产成人精品综合久久久| 久久99爰这里有精品国产| 国产韩国精品一区二区三区| 一a一级片| 九九九在线视频| 台湾毛片| 欧美日本二区| 高清一级片| 亚洲第一视频在线播放| 四虎影视精品永久免费网站| 精品国产一区二区三区久久久狼| 国产麻豆精品hdvideoss| 国产高清在线精品一区a| 天天做日日爱夜夜爽| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 黄视频网站免费| 精品视频在线观看一区二区三区| 九九精品久久| 黄色免费网站在线| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 黄视频网站免费| 九九九在线视频| 国产成人精品综合久久久| 你懂的在线观看视频| 亚洲女人国产香蕉久久精品| 久久福利影视| 国产网站免费在线观看| 久久国产影院| 国产精品自拍在线观看| 四虎影视久久久| 国产高清在线精品一区二区| 亚洲精品影院久久久久久| 久草免费资源| 国产一区国产二区国产三区| 韩国毛片 免费| 天天色色色| 国产网站麻豆精品视频| 日韩中文字幕一区二区不卡| 久草免费在线色站| 国产伦久视频免费观看 视频 | 国产视频一区二区在线观看| 青草国产在线| 久久国产影视免费精品| 欧美18性精品| 亚欧成人毛片一区二区三区四区| 精品国产香蕉伊思人在线又爽又黄| 一级片片| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 午夜家庭影院| 可以免费在线看黄的网站| 国产不卡福利| 九九精品影院| 日本伦理片网站| 国产韩国精品一区二区三区| 欧美国产日韩一区二区三区| 国产福利免费视频| a级精品九九九大片免费看| 你懂的在线观看视频| 国产91视频网| 精品国产一区二区三区久|