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

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

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

瀏覽:30日期: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久久,三上悠亚国产精品一区二区三区
国产亚洲一卡2卡3卡4卡新区| 中文字幕在线视频网站| 亚洲精品少妇| 日韩午夜精品| 中文不卡在线| 久久精品凹凸全集| 欧美精品成人| 国产va在线视频| 蜜桃精品在线| 视频一区欧美精品| 日本午夜精品久久久| 国产精品久久久久久久久久妞妞| 国产乱码精品| 日韩欧美一区二区三区免费看| 午夜精品成人av| 中文一区二区| 国产精品一区二区三区www| 国产精品一区二区av交换 | 日本电影久久久| 国产乱码精品一区二区亚洲| 国产激情在线播放| 国产视频一区欧美| 国产精品极品在线观看| 久久精品不卡| 国产日韩一区二区三免费高清| 国产福利91精品一区二区| 免费视频一区三区| 国产精品尤物| 亚洲专区欧美专区| 国产一区二区三区亚洲| 欧美日韩精品一本二本三本| 97精品资源在线观看| 久久中文亚洲字幕| 欧美交a欧美精品喷水| 天堂成人国产精品一区| 欧美freesex黑人又粗又大| 一区二区国产在线| 国产一区亚洲| 中文字幕人成乱码在线观看| 青青草国产精品亚洲专区无| 国产主播一区| 鲁鲁在线中文| 国产精品高清一区二区| 免费黄网站欧美| 136国产福利精品导航网址| 偷拍亚洲精品| 亚洲一区二区网站| 婷婷激情久久| 在线亚洲人成| 给我免费播放日韩视频| 国产欧美日韩视频在线 | 精品色999| 你懂的亚洲视频| 国产欧美啪啪| 国产精品永久| 国产精品手机在线播放| 天堂精品久久久久| 亚洲精品国模| 亚洲午夜免费| 国产午夜精品一区二区三区欧美| 在线观看精品| 亚洲福利专区| 亚洲欧美日韩视频二区| 亚洲精品888| 免播放器亚洲| 亚洲人成在线影院| 国产免费久久| 久久久久久久欧美精品| 亚洲欧洲一区| 男人的天堂亚洲一区| 午夜日韩福利| 亚洲一区二区小说| 国产三级一区| 国产v日韩v欧美v| 激情综合网址| 日韩av午夜在线观看| 欧美国产另类| 日韩精品看片| 日韩精品一级二级| 四虎成人精品一区二区免费网站| 日本不卡一二三区黄网| 欧美黄页在线免费观看| 99国产精品一区二区| 视频一区二区国产| 精品中文字幕一区二区三区| 99精品在线| 日韩成人在线看| 欧美国产美女| 亚洲理论在线| 欧美成人基地| 免费在线观看视频一区| 国产欧美69| 国产手机视频一区二区| 美女视频网站久久| 欧美aa国产视频| 国产精品一线天粉嫩av| 日韩精品欧美激情一区二区| 亚洲精品乱码| 99久精品视频在线观看视频| 五月亚洲婷婷| 久久影视一区| 精品一区二区男人吃奶| 丝袜a∨在线一区二区三区不卡| 精品国产中文字幕第一页| 免费美女久久99| 日本久久成人网| 国产精品一区二区美女视频免费看 | 国产精品一区二区av日韩在线 | 国产伊人久久| 欧美午夜三级| 亚洲另类av| 国产一区导航| 久久久久久久久丰满| 精品视频高潮| 国产欧美午夜| 国产亚洲欧美日韩精品一区二区三区 | 久久九九精品| 美女精品久久| 国产精品亚洲欧美一级在线| 亚洲我射av| 亚洲欧美专区| 亚洲久久视频| 亚洲在线一区| 久久不射网站| 爽爽淫人综合网网站| 亚洲综合二区| 亚洲乱码久久| 911亚洲精品| 国产午夜一区| 久久精品亚洲一区二区| 美女国产精品久久久| 高清av一区| 亚洲91视频| 麻豆亚洲精品| 日韩精品三级| 国产欧美日韩| 四虎成人av| 亲子伦视频一区二区三区| 激情国产在线| 日韩视频不卡| 日韩av一区二区在线影视| 久久久久97| 欧美高清一区| 日韩不卡一区二区三区| 精品免费视频| 亚洲激情二区| 国产精品网在线观看| 久草免费在线视频| 精品中文字幕一区二区三区av| 视频一区中文字幕国产| 久久99精品久久久久久园产越南| 偷拍精品精品一区二区三区| 最新日韩欧美| 欧美国产精品| 国产午夜精品一区二区三区欧美 | 欧美精品aa| 国产国产精品| 国产精品一区毛片| 免费久久精品| 国产精品玖玖玖在线资源| 欧美日韩尤物久久| 日韩三级久久| 精品美女在线视频| 蜜桃视频一区二区三区| 高清av一区| 日韩不卡在线观看日韩不卡视频| 亚洲精品国产嫩草在线观看| 日本强好片久久久久久aaa| 亚洲视频综合| 老色鬼精品视频在线观看播放| 香蕉视频成人在线观看| 中文字幕高清在线播放| 97精品资源在线观看| 亚洲欧美日韩国产一区| 97在线精品| 牛牛精品成人免费视频| 亚洲a级精品| 久久久久国产精品一区二区| 午夜精品福利影院| 亚洲尤物在线| 午夜精品免费| 久久精品青草| 日产精品一区二区| 国产精品红桃| 国产日韩欧美一区二区三区| 日韩中文字幕区一区有砖一区| 午夜精品久久久久久久久久蜜桃| 国产精品免费精品自在线观看| 亚洲三级视频| 亚洲91在线| 天堂av一区| 国产一卡不卡| 欧美精品国产| 欧美aa在线视频| 国产精品精品| 亚洲天堂1区| 在线视频免费在线观看一区二区| 亚洲国内欧美| 午夜一区在线| 日产欧产美韩系列久久99|