38 lines
2.0 KiB
Plaintext
38 lines
2.0 KiB
Plaintext
include/master-slave.inc
|
|
Warnings:
|
|
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
|
Note #### 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.
|
|
[connection master]
|
|
CREATE TABLE t1 (a INT, b blob, PRIMARY KEY(b(512)));
|
|
include/sync_slave_sql_with_master.inc
|
|
DROP TABLE t1;
|
|
DROP TABLE t1;
|
|
call mtr.add_suppression("Slave SQL for channel '': .*Error .Unknown table .test.t1.. on query.* Error_code: MY-001051");
|
|
call mtr.add_suppression("Unknown table .test.t1. Error_code: MY-001051");
|
|
call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
|
|
include/wait_for_slave_sql_error.inc [errno=1051]
|
|
include/assert.inc [Last_SQL_Error_Timestamp is not null and matches the expected format]
|
|
include/stop_slave.inc
|
|
include/assert.inc [Last_SQL_Error_Timestamp matches the one reported before stopping slave threads]
|
|
CREATE TABLE t1 (a INT, b blob, PRIMARY KEY(b(512)));
|
|
Last_SQL_Errno: 1051
|
|
include/start_slave.inc
|
|
# assertion: show that the error is not reported anymore since replication
|
|
# has resumed correctly
|
|
include/wait_for_slave_param.inc [Last_SQL_Errno]
|
|
include/rpl_reset.inc
|
|
include/stop_slave.inc
|
|
change master to master_port=SLAVE_PORT;
|
|
START SLAVE;
|
|
include/wait_for_slave_param.inc [Last_IO_Errno]
|
|
*** must be having the replicate-same-server-id IO thread error ***
|
|
include/assert.inc [Last_IO_Error_Timestamp is not null and matches the expected format]
|
|
include/stop_slave.inc
|
|
include/assert.inc [Last_IO_Error_Timestamp matches the one reported before stopping slave threads]
|
|
change master to master_port=MASTER_PORT;
|
|
Last_IO_Errno: 13117
|
|
include/start_slave.inc
|
|
# assertion: show that no error is reported anymore
|
|
include/wait_for_slave_param.inc [Last_IO_Errno]
|
|
include/rpl_end.inc
|