| 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/stop_slave.inc |
| 8 |
CHANGE REPLICATION SOURCE TO SOURCE_AUTO_POSITION= 0; |
| 9 |
include/start_slave.inc |
| 10 |
[connection master] |
| 11 |
CREATE TABLE t1 (c1 INT) ENGINE= InnoDB; |
| 12 |
include/sync_slave_sql_with_master.inc |
| 13 |
include/stop_slave_sql.inc |
| 14 |
# Adding debug point 'stop_io_after_reading_query_log_event' to @@GLOBAL.debug |
| 15 |
[connection master] |
| 16 |
BEGIN; |
| 17 |
INSERT INTO t1 VALUES (1); |
| 18 |
INSERT INTO t1 VALUES (2); |
| 19 |
INSERT INTO t1 VALUES (3); |
| 20 |
COMMIT; |
| 21 |
INSERT INTO t1 VALUES (3 + 1); |
| 22 |
[connection slave] |
| 23 |
include/wait_for_slave_io_to_stop.inc |
| 24 |
include/assert.inc [Exactly one GTID should have been retrieved before having all the transaction] |
| 25 |
START SLAVE IO_THREAD; |
| 26 |
Warnings: |
| 27 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 28 |
include/wait_for_slave_io_to_stop.inc |
| 29 |
include/assert.inc [Exactly one GTID should have been retrieved before having all the transaction] |
| 30 |
START SLAVE IO_THREAD; |
| 31 |
Warnings: |
| 32 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 33 |
include/wait_for_slave_io_to_stop.inc |
| 34 |
include/assert.inc [Exactly one GTID should have been retrieved before having all the transaction] |
| 35 |
START SLAVE IO_THREAD; |
| 36 |
Warnings: |
| 37 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 38 |
include/wait_for_slave_io_to_stop.inc |
| 39 |
include/assert.inc [Exactly one GTID should have been retrieved before having all the transaction] |
| 40 |
# Removing debug point 'stop_io_after_reading_query_log_event' from @@GLOBAL.debug |
| 41 |
START SLAVE IO_THREAD; |
| 42 |
Warnings: |
| 43 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 44 |
[connection master] |
| 45 |
include/sync_slave_io_with_master.inc |
| 46 |
include/assert.inc [Exactly three GTIDs should have been retrieved from master before restarting] |
| 47 |
include/rpl_stop_server.inc [server_number=2] |
| 48 |
include/rpl_start_server.inc [server_number=2] |
| 49 |
include/start_slave.inc |
| 50 |
[connection master] |
| 51 |
include/sync_slave_io_with_master.inc |
| 52 |
include/assert.inc [Exactly two GTIDs should have been retrieved from master after restarting] |
| 53 |
[connection master] |
| 54 |
DROP TABLE t1; |
| 55 |
include/rpl_end.inc |