summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/multi_source/multi_source_slave_alias_replica.result
blob: 4c721a1742878898cd41199501aea032384f98c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
connect  slave,127.0.0.1,root,,,$SERVER_MYPORT_3;
connect  master1,127.0.0.1,root,,,$SERVER_MYPORT_1;
connect  master2,127.0.0.1,root,,,$SERVER_MYPORT_2;
connection slave;
CHANGE MASTER 'slave1' TO MASTER_PORT=MYPORT_1, MASTER_HOST='127.0.0.1', MASTER_USER='root', master_ssl_verify_server_cert=0;
CHANGE MASTER 'slave2' TO MASTER_PORT=MYPORT_2, MASTER_HOST='127.0.0.1', MASTER_USER='root', master_ssl_verify_server_cert=0;
START REPLICA 'slave1';
SET default_master_connection = 'slave1';
include/wait_for_slave_to_start.inc
SET default_master_connection = 'slave2';
"Command: START ALL SLAVES --> START ALL REPLICAS"
START ALL REPLICAS;
Warnings:
Note	1937	SLAVE 'slave2' started
include/wait_for_slave_to_start.inc
SET default_master_connection = '';
connection master1;
connection slave;
connection master2;
connection slave;
"Command: SHOW ALL STAVES STATUS --> SHOW ALL REPLICAS STATUS"
SHOW ALL REPLICAS STATUS;
Connection_name	slave1
Slave_SQL_State	Slave has read all relay log; waiting for more updates
Slave_IO_State	Waiting for master to send event
Master_Host	127.0.0.1
Master_User	root
Master_Port	MYPORT_1
Connect_Retry	60
Master_Log_File	master-bin.000001
Read_Master_Log_Pos	<read_master_log_pos>
Relay_Log_File	mysqld-relay-bin-slave1.000002
Relay_Log_Pos	<relay_log_pos>
Relay_Master_Log_File	master-bin.000001
Slave_IO_Running	Yes
Slave_SQL_Running	Yes
Replicate_Do_DB	
Replicate_Ignore_DB	
Replicate_Do_Table	
Replicate_Ignore_Table	
Replicate_Wild_Do_Table	
Replicate_Wild_Ignore_Table	
Last_Errno	0
Last_Error	
Skip_Counter	0
Exec_Master_Log_Pos	<read_master_log_pos>
Relay_Log_Space	<relay_log_space1>
Until_Condition	None
Until_Log_File	
Until_Log_Pos	0
Master_SSL_Allowed	Yes
Master_SSL_CA_File	
Master_SSL_CA_Path	
Master_SSL_Cert	
Master_SSL_Cipher	
Master_SSL_Key	
Seconds_Behind_Master	0
Master_SSL_Verify_Server_Cert	No
Last_IO_Errno	0
Last_IO_Error	
Last_SQL_Errno	0
Last_SQL_Error	
Replicate_Ignore_Server_Ids	
Master_Server_Id	1
Master_SSL_Crl	
Master_SSL_Crlpath	
Using_Gtid	Slave_Pos
Gtid_IO_Pos	
Replicate_Do_Domain_Ids	
Replicate_Ignore_Domain_Ids	
Parallel_Mode	optimistic
SQL_Delay	0
SQL_Remaining_Delay	NULL
Slave_SQL_Running_State	Slave has read all relay log; waiting for more updates
Slave_DDL_Groups	0
Slave_Non_Transactional_Groups	0
Slave_Transactional_Groups	0
Replicate_Rewrite_DB	
Retried_transactions	0
Max_relay_log_size	1073741824
Executed_log_entries	7
Slave_received_heartbeats	0
Slave_heartbeat_period	60.000
Gtid_Slave_Pos	
Connection_name	slave2
Slave_SQL_State	Slave has read all relay log; waiting for more updates
Slave_IO_State	Waiting for master to send event
Master_Host	127.0.0.1
Master_User	root
Master_Port	MYPORT_2
Connect_Retry	60
Master_Log_File	master-bin.000001
Read_Master_Log_Pos	<read_master_log_pos>
Relay_Log_File	mysqld-relay-bin-slave2.000002
Relay_Log_Pos	<relay_log_pos>
Relay_Master_Log_File	master-bin.000001
Slave_IO_Running	Yes
Slave_SQL_Running	Yes
Replicate_Do_DB	
Replicate_Ignore_DB	
Replicate_Do_Table	
Replicate_Ignore_Table	
Replicate_Wild_Do_Table	
Replicate_Wild_Ignore_Table	
Last_Errno	0
Last_Error	
Skip_Counter	0
Exec_Master_Log_Pos	<read_master_log_pos>
Relay_Log_Space	<relay_log_space1>
Until_Condition	None
Until_Log_File	
Until_Log_Pos	0
Master_SSL_Allowed	Yes
Master_SSL_CA_File	
Master_SSL_CA_Path	
Master_SSL_Cert	
Master_SSL_Cipher	
Master_SSL_Key	
Seconds_Behind_Master	0
Master_SSL_Verify_Server_Cert	No
Last_IO_Errno	0
Last_IO_Error	
Last_SQL_Errno	0
Last_SQL_Error	
Replicate_Ignore_Server_Ids	
Master_Server_Id	2
Master_SSL_Crl	
Master_SSL_Crlpath	
Using_Gtid	Slave_Pos
Gtid_IO_Pos	
Replicate_Do_Domain_Ids	
Replicate_Ignore_Domain_Ids	
Parallel_Mode	optimistic
SQL_Delay	0
SQL_Remaining_Delay	NULL
Slave_SQL_Running_State	Slave has read all relay log; waiting for more updates
Slave_DDL_Groups	0
Slave_Non_Transactional_Groups	0
Slave_Transactional_Groups	0
Replicate_Rewrite_DB	
Retried_transactions	0
Max_relay_log_size	1073741824
Executed_log_entries	7
Slave_received_heartbeats	0
Slave_heartbeat_period	60.000
Gtid_Slave_Pos	
"Command: STOP ALL SLAVES --> STOP ALL REPLICAS"
STOP ALL REPLICAS;
Warnings:
Note	1938	SLAVE 'slave2' stopped
Note	1938	SLAVE 'slave1' stopped
include/reset_master_slave.inc
disconnect slave;
connection master1;
include/reset_master_slave.inc
disconnect master1;
connection master2;
include/reset_master_slave.inc
disconnect master2;