Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_upgrade_slave_master_info.result

raw
1 include/rpl_init.inc [topology=2->1]
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 # DROP slave_master_info table and re-create it as of MySQL 5.6.30
6 [connection server_1]
7 CALL mtr.add_suppression('A replica with the same server_uuid/server_id as this replica has connected to the source');
8 include/stop_slave.inc
9 USE mysql;
10 DROP TABLE `slave_master_info`;
11 CREATE TABLE `slave_master_info` (
12 `Number_of_lines` INT(10) UNSIGNED NOT NULL COMMENT 'Number of lines in the file.',
13 `Master_log_name` TEXT CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'The name of the master binary log currently being read from the master.',
14 `Master_log_pos` bigint(20) UNSIGNED NOT NULL COMMENT 'The master log position of the last read event.',
15 `Host` CHAR(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'The host name of the master.',
16 `User_name` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The user name used to connect to the master.',
17 `User_password` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The password used to connect to the master.',
18 `Port` INT(10) UNSIGNED NOT NULL COMMENT 'The network port used to connect to the master.',
19 `Connect_retry` INT(10) UNSIGNED NOT NULL COMMENT 'The period (in seconds) that the slave will wait before trying to reconnect to the master.',
20 `Enabled_ssl` TINYINT(1) NOT NULL COMMENT 'Indicates whether the server supports SSL connections.',
21 `Ssl_ca` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The file used for the Certificate Authority (CA) certificate.',
22 `Ssl_capath` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The path to the Certificate Authority (CA) certificates.',
23 `Ssl_cert` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the SSL certificate file.',
24 `Ssl_cipher` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the cipher in use for the SSL connection.',
25 `Ssl_key` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the SSL key file.',
26 `Ssl_verify_server_cert` TINYINT(1) NOT NULL COMMENT 'Whether to verify the server certificate.',
27 `Heartbeat` FLOAT NOT NULL,
28 `Bind` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'Displays which interface is employed when connecting to the MySQL server',
29 `Ignored_server_ids` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The number of server IDs to be ignored, followed by the actual server IDs',
30 `Uuid` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The master server uuid.',
31 `Retry_count` BIGINT(20) UNSIGNED NOT NULL COMMENT 'Number of reconnect attempts, to the master, before giving up.',
32 `Ssl_crl` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The file used for the Certificate Revocation List (CRL)',
33 `Ssl_crlpath` TEXT CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The path used for Certificate Revocation List (CRL) files',
34 `Enabled_auto_position` TINYINT(1) NOT NULL COMMENT 'Indicates whether GTIDs will be used to retrieve events from the master.',
35 PRIMARY KEY (`Host`,`Port`)
36 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='Master Information' TABLESPACE=mysql;
37 Warnings:
38 Warning 1681 Integer display width is deprecated and will be removed in a future release.
39 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
40 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
41 Warning 1681 Integer display width is deprecated and will be removed in a future release.
42 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
43 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
44 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
45 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
46 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
47 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
48 Warning 1681 Integer display width is deprecated and will be removed in a future release.
49 Warning 1681 Integer display width is deprecated and will be removed in a future release.
50 Warning 1681 Integer display width is deprecated and will be removed in a future release.
51 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
52 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
53 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
54 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
55 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
56 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
57 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
58 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
59 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
60 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
61 Warning 1681 Integer display width is deprecated and will be removed in a future release.
62 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
63 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
64 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
65 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
66 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
67 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
68 Warning 1681 Integer display width is deprecated and will be removed in a future release.
69 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
70 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
71 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
72 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
73 Warning 1681 Integer display width is deprecated and will be removed in a future release.
74 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
75 # Running mysql_upgrade to update slave_master_info table
76 include/rpl_restart_server.inc [server_number=1 parameters: --upgrade=FORCE]
77 [connection server_1]
78 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT FOR CHANNEL '';
79 Warnings:
80 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
81 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
82 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT FOR CHANNEL 'channel_1';
83 Warnings:
84 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
85 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
86 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT FOR CHANNEL 'channel_2';
87 Warnings:
88 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
89 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
90 include/assert.inc [Default channel name is '']
91 include/assert.inc [Second channel name is 'channel_1']
92 include/assert.inc [Third channel name is 'channel_2']
93 include/stop_slave.inc
94 Warnings:
95 Note 3084 Replication thread(s) for channel '' are already stopped.
96 Note 3084 Replication thread(s) for channel 'channel_1' are already stopped.
97 Note 3084 Replication thread(s) for channel 'channel_2' are already stopped.
98 RESET SLAVE ALL;
99 Warnings:
100 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
101 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT;
102 Warnings:
103 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
104 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
105 include/start_slave.inc
106 [connection server_2]
107 CREATE TABLE t1 (c1 INT);
108 INSERT INTO t1 VALUES (1);
109 include/save_master_pos.inc
110 [connection server_1]
111 include/sync_slave_sql.inc
112 ALTER TABLE slave_master_info
113 MODIFY Host CHAR(64) CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'The host name of the master.',
114 ALTER COLUMN Channel_name DROP DEFAULT;
115 Warnings:
116 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
117 Warning 3778 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
118 include/stop_slave.inc
119 CALL mtr.add_suppression('Info table has a problem with its key field.*slave_master_info');
120 CALL mtr.add_suppression('Error in checking mysql.slave_master_info repository info type of TABLE');
121 CALL mtr.add_suppression('Error creating connection metadata');
122 ALTER TABLE slave_master_info
123 MODIFY Channel_name CHAR(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
124 COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication'
125 AFTER Tls_version;
126 Warnings:
127 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
128 Warning 3778 'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
129 RESET SLAVE ALL;
130 ERROR HY000: Could not initialize connection metadata structure; more error messages can be found in the MySQL error log
131 include/assert_grep.inc [Found the expected error line in the error log.]
132 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT;
133 ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log.
134 START SLAVE;
135 ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log.
136 ALTER TABLE slave_master_info
137 MODIFY Channel_name CHAR(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
138 COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication'
139 AFTER Enabled_auto_position;
140 Warnings:
141 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
142 Warning 3778 'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
143 include/rpl_restart_server.inc [server_number=1]
144 RESET SLAVE ALL;
145 Warnings:
146 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
147 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT, SOURCE_LOG_FILE='FILE', SOURCE_LOG_POS=POS;
148 Warnings:
149 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
150 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
151 include/start_slave.inc
152 CALL mtr.add_suppression('Failed to create a channel from connection metadata repository');
153 CALL mtr.add_suppression('Could not create channel list');
154 CALL mtr.add_suppression('Failed to create or recover replication info repositories');
155 [connection server_2]
156 INSERT INTO t1 VALUES (2);
157 include/sync_slave_sql_with_master.inc
158 include/stop_slave.inc
159 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT, SOURCE_LOG_FILE='FILE', SOURCE_LOG_POS=POS FOR CHANNEL 'channel_1';
160 Warnings:
161 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
162 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
163 include/start_slave.inc [FOR CHANNEL 'channel_1']
164 [connection server_2]
165 INSERT INTO t1 VALUES (3);
166 include/sync_slave_sql_with_master.inc [FOR CHANNEL 'channel_1']
167 include/stop_slave.inc [FOR CHANNEL 'channel_1']
168 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT, SOURCE_LOG_FILE='FILE', SOURCE_LOG_POS=POS FOR CHANNEL 'channel_2';
169 Warnings:
170 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
171 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
172 include/start_slave.inc [FOR CHANNEL 'channel_2']
173 [connection server_2]
174 INSERT INTO t1 VALUES (4);
175 include/sync_slave_sql_with_master.inc [FOR CHANNEL 'channel_2']
176 include/stop_slave.inc [FOR CHANNEL 'channel_2']
177 ALTER TABLE slave_master_info
178 MODIFY Channel_name CHAR(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
179 COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication'
180 AFTER Tls_version;
181 Warnings:
182 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
183 Warning 3778 'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
184 include/rpl_restart_server.inc [server_number=1]
185 RESET SLAVE ALL;
186 ERROR HY000: Replica is not configured or failed to initialize properly. You must at least set --server-id to enable either a source or a replica. Additional error messages can be found in the MySQL error log.
187 include/assert_grep.inc [Found the expected error line in the error log generated on server startup.]
188 ALTER TABLE slave_master_info
189 MODIFY Channel_name CHAR(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
190 COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication'
191 AFTER Enabled_auto_position;
192 Warnings:
193 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
194 Warning 3778 'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
195 include/rpl_restart_server.inc [server_number=1]
196 include/stop_slave.inc
197 RESET SLAVE ALL;
198 Warnings:
199 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
200 CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT, SOURCE_LOG_FILE='FILE', SOURCE_LOG_POS=POS;
201 Warnings:
202 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
203 Note 1760 Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
204 include/start_slave.inc
205 [connection server_2]
206 DROP TABLE t1;
207 include/rpl_end.inc