| 1 |
include/master-slave.inc |
| 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 |
[connection master] |
| 6 |
call mtr.add_suppression("Replica I/O: The replica I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum"); |
| 7 |
create table t1(n int); |
| 8 |
select * from t1; |
| 9 |
n |
| 10 |
stop slave sql_thread; |
| 11 |
Warnings: |
| 12 |
Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead |
| 13 |
insert into t1 values(1); |
| 14 |
insert into t1 values(2); |
| 15 |
include/wait_for_slave_param.inc [Read_Master_Log_Pos] |
| 16 |
include/stop_slave.inc |
| 17 |
CHANGE REPLICATION SOURCE to SOURCE_USER='root'; |
| 18 |
Warnings: |
| 19 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 20 |
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. |
| 21 |
start slave; |
| 22 |
Warnings: |
| 23 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 24 |
select * from t1; |
| 25 |
n |
| 26 |
1 |
| 27 |
2 |
| 28 |
drop table t1; |
| 29 |
include/rpl_reset.inc |
| 30 |
create table t1 (a int); |
| 31 |
insert into t1 values (1); |
| 32 |
flush logs; |
| 33 |
insert into t1 values (2); |
| 34 |
include/diff_tables.inc [master:t1, slave:t1] |
| 35 |
include/stop_slave.inc |
| 36 |
delete from t1 where a=2; |
| 37 |
CHANGE REPLICATION SOURCE TO relay_log_file='slave-relay-bin.000005', relay_log_pos=4; |
| 38 |
start slave sql_thread; |
| 39 |
Warnings: |
| 40 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 41 |
include/wait_for_slave_sql_to_start.inc |
| 42 |
include/diff_tables.inc [master:t1, slave:t1] |
| 43 |
start slave io_thread; |
| 44 |
Warnings: |
| 45 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 46 |
include/wait_for_slave_io_to_start.inc |
| 47 |
set global relay_log_purge=1; |
| 48 |
drop table t1; |
| 49 |
include/rpl_reset.inc |
| 50 |
Master_Retry_Count: |
| 51 |
include/stop_slave.inc |
| 52 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=20; |
| 53 |
include/start_slave.inc |
| 54 |
include/stop_slave.inc |
| 55 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=0; |
| 56 |
include/start_slave.inc |
| 57 |
include/stop_slave.inc |
| 58 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=1; |
| 59 |
include/start_slave.inc |
| 60 |
include/stop_slave.inc |
| 61 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=10; |
| 62 |
include/start_slave.inc |
| 63 |
include/stop_slave.inc |
| 64 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=RETRY_COUNT_SET; |
| 65 |
SELECT RETRY_COUNT_EXPECTED AS current_retry_count; |
| 66 |
current_retry_count |
| 67 |
RETRY_COUNT_EXPECTED |
| 68 |
CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY= 2; |
| 69 |
CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY= 1; |
| 70 |
include/rpl_restart_server.inc [server_number=2] |
| 71 |
include/start_slave.inc |
| 72 |
include/stop_slave.inc |
| 73 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=10; |
| 74 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT='a'; |
| 75 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''a'' at line 1 |
| 76 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=-1; |
| 77 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1 |
| 78 |
include/start_slave.inc |
| 79 |
include/stop_slave.inc |
| 80 |
CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY= 200, IGNORE_SERVER_IDS= (100, 200, 300, 400, 500); |
| 81 |
include/rpl_restart_server.inc [server_number=2] |
| 82 |
include/start_slave.inc |
| 83 |
Eexpected values: "100, 200, 300, 400, 500" == "100, 200, 300, 400, 500" or 200 == 200 |
| 84 |
include/stop_slave.inc |
| 85 |
CHANGE REPLICATION SOURCE TO IGNORE_SERVER_IDS= (); |
| 86 |
include/start_slave.inc |
| 87 |
include/stop_slave.inc |
| 88 |
create table t1(n int, b varchar(256)); |
| 89 |
insert into t1 values(1, <source_bind>); |
| 90 |
CHANGE REPLICATION SOURCE to SOURCE_HOST=<source_bind>, SOURCE_BIND=<source_bind>; |
| 91 |
start slave; |
| 92 |
Warnings: |
| 93 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 94 |
include/wait_for_slave_to_start.inc |
| 95 |
drop table t1; |
| 96 |
include/stop_slave.inc |
| 97 |
create table t1(n int, b varchar(256)); |
| 98 |
insert into t1 values(1, <source_bind>); |
| 99 |
CHANGE REPLICATION SOURCE to SOURCE_BIND=<source_bind>; |
| 100 |
start slave; |
| 101 |
Warnings: |
| 102 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 103 |
include/wait_for_slave_io_error.inc [errno=2003] |
| 104 |
got expected error 2003 |
| 105 |
include/stop_slave.inc |
| 106 |
CHANGE REPLICATION SOURCE to SOURCE_BIND=''; |
| 107 |
start slave; |
| 108 |
Warnings: |
| 109 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 110 |
include/wait_for_slave_to_start.inc |
| 111 |
drop table t1; |
| 112 |
include/stop_slave.inc |
| 113 |
create table t1(n int, b varchar(256)); |
| 114 |
insert into t1 values(1, <source_bind>); |
| 115 |
CHANGE REPLICATION SOURCE to SOURCE_HOST=<source_bind>, SOURCE_BIND=<source_bind>; |
| 116 |
start slave; |
| 117 |
Warnings: |
| 118 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 119 |
include/wait_for_slave_to_start.inc |
| 120 |
drop table t1; |
| 121 |
include/stop_slave.inc |
| 122 |
create table t1(n int, b varchar(256)); |
| 123 |
insert into t1 values(1, <source_bind>); |
| 124 |
CHANGE REPLICATION SOURCE to SOURCE_BIND=<source_bind>; |
| 125 |
start slave; |
| 126 |
Warnings: |
| 127 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 128 |
include/wait_for_slave_to_start.inc |
| 129 |
drop table t1; |
| 130 |
include/stop_slave.inc |
| 131 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='SAVE_MASTER_HOST'; |
| 132 |
include/start_slave.inc |
| 133 |
include/rpl_reset.inc |
| 134 |
include/stop_slave.inc |
| 135 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='', SOURCE_PORT=SOURCE_PORT; |
| 136 |
ERROR HY000: Incorrect arguments to SOURCE_HOST |
| 137 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1\n127.0.0.1', SOURCE_PORT=SOURCE_PORT; |
| 138 |
ERROR HY000: Incorrect argument contains not-allowed LF value: '127.0.0.1 |
| 139 |
127.0.0.1' |
| 140 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root\n', SOURCE_HOST='master2.mycompany.com', SOURCE_PORT=SOURCE_PORT, SOURCE_USER='replication', SOURCE_PASSWORD='bigs3cret', SOURCE_LOG_FILE='master2-bin.001', SOURCE_LOG_POS=4; |
| 141 |
ERROR HY000: Incorrect argument contains not-allowed LF value: 'root |
| 142 |
' |
| 143 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='master2.mycompany.com', SOURCE_PORT=SOURCE_PORT, SOURCE_USER='repli\ncation', SOURCE_PASSWORD='bigs3cret', SOURCE_LOG_FILE='master2-bin.001', SOURCE_LOG_POS=4; |
| 144 |
ERROR HY000: Incorrect argument contains not-allowed LF value: 'repli |
| 145 |
cation' |
| 146 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='master2.mycompany.com', SOURCE_PORT=SOURCE_PORT, SOURCE_USER='replication', SOURCE_PASSWORD='bigs3cret', SOURCE_LOG_FILE='master2-bin.\n001', SOURCE_LOG_POS=4; |
| 147 |
ERROR HY000: Incorrect argument contains not-allowed LF value: 'master2-bin. |
| 148 |
001' |
| 149 |
CHANGE REPLICATION SOURCE TO SOURCE_USER='root', SOURCE_HOST='127.0.0.1', SOURCE_PORT=SOURCE_PORT; |
| 150 |
Warnings: |
| 151 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 152 |
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. |
| 153 |
include/start_slave.inc |
| 154 |
Master_Host = '127.0.0.1' |
| 155 |
include/rpl_reset.inc |
| 156 |
include/assert.inc [Password length is 32] |
| 157 |
SET SQL_LOG_BIN=0; |
| 158 |
CREATE USER [email protected] IDENTIFIED BY '012345678901234567890123456789ab'; |
| 159 |
GRANT REPLICATION SLAVE ON *.* TO [email protected]; |
| 160 |
SET SQL_LOG_BIN=1; |
| 161 |
include/stop_slave.inc |
| 162 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='rpl', SOURCE_PASSWORD='012345678901234567890123456789ab', SOURCE_SSL=1; |
| 163 |
Warnings: |
| 164 |
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 165 |
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. |
| 166 |
include/start_slave_io.inc |
| 167 |
include/check_slave_param.inc [Slave_IO_Running] |
| 168 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='rpl', SOURCE_PASSWORD='x012345678901234567890123456789ab', SOURCE_SSL=1; |
| 169 |
ERROR HY000: The password provided for the replication user exceeds the maximum length of 32 characters |
| 170 |
SET SQL_LOG_BIN=0; |
| 171 |
DROP USER [email protected]; |
| 172 |
FLUSH PRIVILEGES; |
| 173 |
SET SQL_LOG_BIN=1; |
| 174 |
include/stop_slave_io.inc |
| 175 |
CHANGE REPLICATION SOURCE TO SOURCE_USER = 'root', SOURCE_PASSWORD = '', SOURCE_SSL=0; |
| 176 |
Warnings: |
| 177 |
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 178 |
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. |
| 179 |
include/start_slave.inc |
| 180 |
include/rpl_end.inc |