亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

myql 5.7.21 GTID 組復制

發布時間:2020-07-16 19:02:24 來源:網絡 閱讀:800 作者:onlywyn 欄目:MySQL數據庫
hostname IP 角色
node13 1.1.1.13 master1
node14 1.1.1.14 master2
node15 1.1.1.15 master3
[mysql]
prompt=\\u@\\h:\\d \\R:\\m:\\s>
user=root
password=nihao123,
[mysqld]
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
server_id = 01
gtid_mode = ON
enforce_gtid_consistency = ON
master_info_repository = TABLE
relay_log_info_repository = TABLE
binlog_checksum = NONE
log_slave_updates = ON
log_bin = binlog
binlog_format = ROW
transaction_write_set_extraction = XXHASH64
loose-group_replication_group_name = 'ce9be252-2b71-11e6-b8f4-00212844f856'
loose-group_replication_start_on_boot = off
loose-group_replication_local_address = '1.1.1.13:33061'
loose-group_replication_group_seeds = '1.1.1.13:33061,1.1.1.14:33061,1.1.1.15:33061'
loose-group_replication_bootstrap_group = off
loose-group_replication_single_primary_mode=FALSE
loose-group_replication_enforce_update_everywhere_checks= TRUE
slave_preserve_commit_order=on
slave_parallel_type=LOGICAL_CLOCK
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
validate_password_length = 1
validate_password_policy = 0
validate_password_mixed_case_count = 2
group_replication_ip_whitelist = '127.0.0.1/32,1.1.1.0/24,2.2.2.0/24'
[mysql]
prompt=\\u@\\h:\\d \\R:\\m:\\s>
user=root
password=nihao123,
[mysqld]
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
server_id = 02
gtid_mode = ON
enforce_gtid_consistency = ON
master_info_repository = TABLE
relay_log_info_repository = TABLE
binlog_checksum = NONE
log_slave_updates = ON
log_bin = binlog
binlog_format = ROW
transaction_write_set_extraction = XXHASH64
loose-group_replication_group_name = 'ce9be252-2b71-11e6-b8f4-00212844f856'
loose-group_replication_start_on_boot = off
loose-group_replication_local_address = '1.1.1.14:33061'
loose-group_replication_group_seeds = '1.1.1.13:33061,1.1.1.14:33061,1.1.1.15:33061'
loose-group_replication_bootstrap_group = off
loose-group_replication_enforce_update_everywhere_checks= TRUE
loose-group_replication_single_primary_mode=FALSE
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
validate_password_length = 1
validate_password_policy = 0
validate_password_mixed_case_count = 2
group_replication_ip_whitelist = '127.0.0.1/32,1.1.1.0/24,2.2.2.0/24'
[mysql]
prompt=\\u@\\h:\\d \\R:\\m:\\s>
user=root
password=nihao123,
[mysqld]
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
server_id = 03
gtid_mode = ON
enforce_gtid_consistency = ON
master_info_repository = TABLE
relay_log_info_repository = TABLE
binlog_checksum = NONE
log_slave_updates = ON
log_bin = binlog
binlog_format = ROW
transaction_write_set_extraction = XXHASH64
loose-group_replication_group_name = 'ce9be252-2b71-11e6-b8f4-00212844f856'
loose-group_replication_start_on_boot = off
loose-group_replication_local_address = '1.1.1.15:33061'
loose-group_replication_group_seeds = '1.1.1.13:33061,1.1.1.14:33061,1.1.1.15:33061'
loose-group_replication_bootstrap_group = off
loose-group_replication_enforce_update_everywhere_checks= TRUE
loose-group_replication_single_primary_mode=FALSE
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
validate_password_length = 1
validate_password_policy = 0
validate_password_mixed_case_count = 2
group_replication_ip_whitelist = '127.0.0.1/32,1.1.1.0/24,2.2.2.0/24'
super_read_only = 1

node13 配置如下:
set sql_log_bin=0;
create user rpl_user@’%’;
grant replication slave on . to rpl_user@’%’ identified by ‘rpl_pass’;
flush privileges;
set sql_log_bin=1;
change master to master_user=’rpl_user’,master_password=’rpl_pass’ for channel ‘group_replication_recovery’;
install PLUGIN group_replication SONAME ‘group_replication.so’;
set global group_replication_bootstrap_group=ON;
start group_replication;
set global group_replication_bootstrap_group=OFF;
select * from performance_schema.replication_group_members;

node14 配置如下:
set sql_log_bin=0;
set global group_replication_bootstrap_group=on;
grant replication slave on . to rpl_user@'%' identified by 'rpl_pass';
set sql_log_bin=1;
change master to master_user='rpl_user',master_password='rpl_pass' for channel 'group_replication_recovery';
install plugin group_replication SONAME 'group_replication.so';
set global group_replication_allow_local_disjoint_gtids_join=ON;
set global group_replication_single_primary_mode=off;
start group_replication;

node15 配置如下:
set sql_log_bin=0;
set global group_replication_bootstrap_group=on;
grant replication slave on . to rpl_user@'%' identified by 'rpl_pass';
set sql_log_bin=1;
change master to master_user='rpl_user',master_password='rpl_pass' for channel 'group_replication_recovery';
install plugin group_replication SONAME 'group_replication.so';
set global group_replication_allow_local_disjoint_gtids_join=ON;
set global group_replication_single_primary_mode=off;
start group_replication;

參考:
http://blog.itpub.net/29773961/viewspace-2133314/
https://wuguiyunwei.com/index.php/2017/06/08/836.html

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

南丹县| 东莞市| 邯郸市| 雷州市| 新巴尔虎左旗| 谢通门县| 天水市| 沁水县| 岑巩县| 微山县| 汾阳市| 游戏| 沁阳市| 团风县| 顺平县| 尼玛县| 常山县| 府谷县| 张家口市| 衡东县| 宽甸| 大同县| 桦甸市| 新邵县| 东源县| 弋阳县| 威海市| 泰宁县| 七台河市| 吉水县| 闸北区| 迁安市| 元氏县| 彭阳县| 周至县| 西峡县| 宜川县| 抚顺市| 哈密市| 敖汉旗| 奉新县|