日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区

您的位置:首頁技術文章
文章詳情頁

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

瀏覽:28日期:2023-10-04 12:48:23

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 數據庫
相關文章:
日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区
久久国产生活片100| 国内精品福利| 亚洲女同av| 国产日韩欧美三区| 美女久久一区| 三级小说欧洲区亚洲区| 视频一区欧美精品| 日本少妇一区| 国产精品.xx视频.xxtv| 蜜桃久久精品一区二区| 久久精品影视| 精品国产亚洲一区二区三区| jiujiure精品视频播放| 久久久精品午夜少妇| 97精品国产| 国产一区二区三区视频在线| 日本欧美韩国一区三区| 一二三区精品| 免费观看久久久4p| 蜜桃av一区| 亚洲视频电影在线| 久久久久久久久丰满| 成人在线丰满少妇av| 国产一区二区三区四区二区| 久久精品五月| 成人在线免费观看网站| 精品一区二区三区中文字幕| 精品国产亚洲日本| 色在线视频观看| 日韩黄色大片网站| 国产一区二区三区四区二区| 国精品产品一区| 日韩欧美综合| 欧美成人精品| 久久亚洲欧美| 欧美三区不卡| 美腿丝袜在线亚洲一区| 免费在线观看一区| 日韩欧美综合| 日韩一区精品字幕| 国产精品sss在线观看av| 少妇高潮一区二区三区99| 国产欧美91| 久久精品亚洲欧美日韩精品中文字幕| 国产综合婷婷| 精品91福利视频| 黑丝一区二区| 国产精品久久| 99久久久久| 日韩精品一卡二卡三卡四卡无卡| 国产九九精品| 蜜桃av在线播放| 亚洲人成在线影院| 日韩av网站在线免费观看| 日韩伦理福利| 亚洲精品九九| 亚洲永久av| 久久国产人妖系列| 婷婷色综合网| 日韩精品中文字幕一区二区| 99久精品视频在线观看视频| 影音先锋久久精品| 国产精品字幕| 欧美激情aⅴ一区二区三区| 黑丝一区二区三区| a国产在线视频| 免播放器亚洲一区| 欧美日韩在线二区| 国产精品久久久一区二区| 蜜桃久久久久久| 久久中文视频| 日韩av有码| 国产美女久久| 亚洲伊人精品酒店| 午夜免费一区| 亚洲91视频| 99久久激情| 免费高潮视频95在线观看网站| 日韩精品一区二区三区中文在线| 亚洲欧美日本日韩| 一本色道久久精品| 亚洲午夜黄色| 日韩国产激情| 国产成人免费精品| 精品视频一区二区三区四区五区| 国产精品亚洲综合久久| 国产伦理一区| 国产精品第一国产精品| 国产精品亚洲成在人线| 国产精品最新自拍| 欧美永久精品| 国产精品久久久网站| 日本少妇精品亚洲第一区| 日韩高清二区| 麻豆精品少妇| 91av亚洲| 成人久久一区| 亚洲综合电影| 蜜臀久久99精品久久一区二区| 久久中文字幕av| 亚洲伊人精品酒店| 国产福利一区二区精品秒拍| 国产精品成人a在线观看| 欧美高清不卡| 亚洲欧美激情诱惑| 石原莉奈在线亚洲二区| 国产精品最新自拍| 日韩一区二区在线免费| 欧美在线综合| 久久精品国产999大香线蕉| 日韩免费一区| 久久精品国产99久久| 免费日韩av| 国产精品片aa在线观看| 国产精品免费看| 亚洲精品一级二级| 国产精品手机在线播放| 亚洲欧洲av| 中文视频一区| 伊人影院久久| 日韩av二区| 久久亚洲资源中文字| 国产亚洲精品精品国产亚洲综合| 爽好多水快深点欧美视频| 美女网站一区| 亚州av乱码久久精品蜜桃| 成人精品高清在线视频| 欧美日韩亚洲一区三区| 亚洲欧洲日韩精品在线| 亚洲精品精选| 蜜臀a∨国产成人精品| 99视频一区| 丝袜美腿亚洲一区二区图片| 亚洲欧美日韩国产综合精品二区| 国内精品99| 五月天综合网站| 首页亚洲欧美制服丝腿| 色综合视频一区二区三区日韩 | 国产精品99视频| 成人美女视频| 99久久精品网站| 美日韩精品视频| 日本在线成人| 麻豆一区二区99久久久久| 日韩av专区| 国产精品97| 蜜桃久久精品一区二区| 国产麻豆一区二区三区精品视频| 久久久久九九精品影院| 丝袜美腿一区| 免费高清在线一区| 欧美黄色精品| 五月天激情综合网| 蜜臀精品久久久久久蜜臀| 国产精品一国产精品k频道56| 麻豆精品一区二区综合av| 日韩久久一区二区三区| 在线视频日韩| 国产激情精品一区二区三区| 丰满少妇一区| 亚洲另类视频| 国产精品久久久久久久久妇女| 91久久久精品国产| 国产丝袜一区| 国产午夜久久| 国产成人久久精品一区二区三区| 国产亚洲毛片在线| 精品少妇一区| 视频福利一区| 午夜精品影院| 久久99国产精品视频| 麻豆国产精品一区二区三区| 欧美一区91| 日韩精品社区| 日韩一二三区在线观看| 石原莉奈一区二区三区在线观看| 红桃视频欧美| 国产精品人人爽人人做我的可爱| 精品在线99| 亚洲欧美高清| 男女性色大片免费观看一区二区 | 麻豆精品在线视频| 日韩区欧美区| 国产视频网站一区二区三区| 国产情侣久久| 国产suv精品一区二区四区视频| 色在线视频观看| 在线精品国产亚洲| 麻豆精品在线视频| 久久精品国产www456c0m| 丝袜亚洲另类欧美| 免费日韩成人| 久久性天堂网| 久久不见久久见免费视频7| 欧美国产小视频| 香蕉成人久久| 麻豆国产欧美一区二区三区| 国产福利资源一区| 另类欧美日韩国产在线| 国产精品久久国产愉拍|