欧美阿v视频在线大全_亚洲欧美中文日韩V在线观看_www性欧美日韩欧美91_亚洲欧美日韩久久精品

主頁 > 知識庫 > 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搭建過程中常遇見的問題及解決辦法的相關信息資訊供網民參考!
  • 推薦文章
    欧美阿v视频在线大全_亚洲欧美中文日韩V在线观看_www性欧美日韩欧美91_亚洲欧美日韩久久精品
  • <rt id="w000q"><acronym id="w000q"></acronym></rt>
  • <abbr id="w000q"></abbr>
    <rt id="w000q"></rt>
    美女被到爽高潮视频| 精品国产乱码久久久久久1区2区 | 亚洲男女一区二区三区| 国产精品一卡二卡| 国产7777777| 337p粉嫩大胆色噜噜噜噜亚洲| 日本aⅴ免费视频一区二区三区| xfplay5566色资源网站| 欧美日韩国产综合一区二区三区| 亚洲精品精品亚洲| 国产精品19p| 欧美日韩精品三区| 亚洲成人自拍一区| 亚洲男人在线天堂| 日韩精品中午字幕| 精品中文字幕一区二区| 成年人在线免费看片| 久久久午夜电影| 国产精品亚洲成人| 在线看的片片片免费| ...av二区三区久久精品| 91热门视频在线观看| 欧美日韩中文国产| 性做久久久久久免费观看| 日本一区二区在线免费观看| 欧美va日韩va| 国产福利精品导航| 色综合欧美在线| 亚洲伊人色欲综合网| 黄色网址在线视频| 精品成人a区在线观看| 国产老妇另类xxxxx| 日本老熟俱乐部h0930| 亚洲一区视频在线| 色噜噜在线观看| 国产午夜久久久久| 99久久综合狠狠综合久久| 欧美日韩国产美女| 老汉av免费一区二区三区| 国产黄a三级三级| 亚洲另类中文字| 喷水视频在线观看| 久久精品无码一区二区三区| 不卡一区二区三区四区| 欧美群妇大交群的观看方式| 久久不见久久见免费视频7| frxxee中国xxx麻豆hd| 一区二区三区欧美激情| 免费观看av网站| 中文字幕在线不卡国产视频| 中国特级黄色片| 久久久久久久久久美女| 91在线视频网址| 欧美成人伊人久久综合网| 粉嫩aⅴ一区二区三区四区五区| 欧美性生活一区| 精品一区中文字幕| 一本色道亚洲精品aⅴ| 日韩电影一区二区三区| 国产探花在线视频| 午夜精品一区在线观看| 日韩在线观看免| 视频在线观看一区| 成年人二级毛片| 视频一区欧美日韩| 日韩在线观看视频一区二区| 日韩精品一二三四| 色综合视频一区二区三区高清| 免费成人美女在线观看.| 中文字幕在线观看成人| 蜜臀av性久久久久蜜臀aⅴ| 色综合天天天天做夜夜夜夜做| 蜜臀av一区二区三区| 色94色欧美sute亚洲13| 久久国产精品露脸对白| 欧美色综合网站| 国产成人在线电影| 欧美大尺度电影在线| 91免费精品国自产拍在线不卡| 精品福利av导航| 久久久久国产免费| 国产精品天干天干在线综合| 精品无码人妻一区| 亚洲最大的成人av| 欧美激情精品久久久久久免费| 日韩不卡一二三区| 91福利在线免费观看| 国产精一区二区三区| 日韩欧美中文字幕一区| 又黄又爽又色的视频| 国产欧美日本一区视频| 国产吞精囗交久久久| 亚洲精品免费电影| 天天鲁一鲁摸一摸爽一爽| 麻豆视频观看网址久久| 欧美精品18+| 91丨九色porny丨蝌蚪| 中文字幕精品综合| 免费看91的网站| 青青草伊人久久| 在线播放视频一区| 青青草精品在线| 一区在线观看视频| 欧美a级片免费看| 黄色成人免费在线| 欧美成人国产一区二区| 国产一级黄色录像| 亚洲成人你懂的| 欧美日韩午夜影院| 日本黄色三级网站| 亚洲精品网站在线观看| 朝桐光av在线| 成人av在线资源网| 中文字幕在线观看不卡| 青青青手机在线视频| 国产一区二区免费看| 久久久久久久久99精品| 中文字幕在线观看免费高清| 蜜桃一区二区三区在线观看| 日韩一区二区精品葵司在线| 97精品人妻一区二区三区蜜桃| 亚洲一区二区三区四区的| 欧美性欧美巨大黑白大战| 91麻豆国产福利在线观看| 无码人妻丰满熟妇区毛片蜜桃精品 | 国产黄色录像视频| 久久97超碰国产精品超碰| 精品国产欧美一区二区| 亚洲第一成人网站 | 欧美人xxxx| 好男人香蕉影院| 日韩av一区二区在线影视| 日韩一区二区三区在线观看| 北岛玲一区二区| 日本欧美在线观看| 精品va天堂亚洲国产| 五月激情四射婷婷| 国产宾馆实践打屁股91| 中文字幕一区二区5566日韩| 色视频一区二区| 女同性αv亚洲女同志| 三级久久三级久久| 精品美女被调教视频大全网站| 日本成人免费视频| 国产91富婆露脸刺激对白| 中文字幕制服丝袜成人av| 在线这里只有精品| 深田咏美中文字幕| 免费观看在线色综合| 久久精品人人做人人爽97| 亚洲欧美精品aaaaaa片| 91网站视频在线观看| 亚洲成人三级小说| 久久综合久久久久88| 免费成人深夜夜行网站| 91亚洲大成网污www| 五月天精品一区二区三区| 精品99久久久久久| 免费中文字幕日韩| 国产精品91av| 看国产成人h片视频| 国产精品毛片无遮挡高清| 欧美在线观看视频一区二区三区| 超碰caoprom| 国产米奇在线777精品观看| 亚洲欧美综合网| 91麻豆精品国产自产在线观看一区| 久久只有这里有精品| 成人高清av在线| 亚洲va欧美va天堂v国产综合| 欧美xxxx在线观看| frxxee中国xxx麻豆hd| 色欲欲www成人网站| 九九九精品视频| 亚洲欧美日本韩国| 欧美电视剧在线看免费| 日韩成人毛片视频| 中文字幕影片免费在线观看| 国产成人精品免费看| 亚洲成国产人片在线观看| 国产日韩综合av| 欧美男女性生活在线直播观看| 亚洲精品国产精品国自产网站| 99久久精品免费观看| 日韩av不卡在线观看| 中文字幕一区日韩精品欧美| 日韩一区二区在线看| 超碰手机在线观看| 国产熟妇搡bbbb搡bbbb| 99re成人精品视频| 韩国视频一区二区| 一区二区成人在线视频| 久久精品视频一区二区三区| 欧美日韩国产大片| 大地资源高清在线视频观看| 国产亚洲色婷婷久久99精品91| 成人免费视频国产在线观看| 美女诱惑一区二区| 一区二区久久久| 国产精品高潮呻吟久久|