| 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 |
[connection slave] |
| 7 |
include/start_slave_io.inc |
| 8 |
SET @save_debug=@@global.debug; |
| 9 |
SET GLOBAL DEBUG= "+d,stop_io_after_reading_write_rows_log_event"; |
| 10 |
[connection master] |
| 11 |
CREATE TABLE t1 (c1 INT) ENGINE=InnoDB; |
| 12 |
BEGIN; |
| 13 |
INSERT INTO t1 (c1) VALUES (1); |
| 14 |
COMMIT; |
| 15 |
[connection slave] |
| 16 |
include/wait_for_slave_io_to_stop.inc |
| 17 |
# Kill and restart |
| 18 |
include/rpl_reconnect.inc |
| 19 |
include/start_slave.inc |
| 20 |
[connection master] |
| 21 |
include/sync_slave_io_with_master.inc |
| 22 |
include/assert.inc [Assert that the timestamp after the restart is more recent than the initial timestamp] |
| 23 |
include/assert.inc [Assert that the final queue timestamp is more recent than the timestamp after the restart] |
| 24 |
[connection master] |
| 25 |
DROP TABLE t1; |
| 26 |
include/rpl_end.inc |