| 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 |
CALL mtr.add_suppression("Got fatal error .* from source .* replica with the same server_uuid/server_id"); |
| 8 |
CALL mtr.add_suppression("Error during --relay-log-recovery.*"); |
| 9 |
CALL mtr.add_suppression("Server was not able to find a rotate event from source server.*"); |
| 10 |
include/stop_slave.inc |
| 11 |
RESET SLAVE ALL; |
| 12 |
Warnings: |
| 13 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 14 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT FOR CHANNEL 'ch1'; |
| 15 |
# |
| 16 |
# RESTART SLAVE SERVER |
| 17 |
# |
| 18 |
include/rpl_restart_server.inc [server_number=2 parameters: --relay-log-recovery --skip-replica-start --replica-parallel-workers=4 --relay-log-purge=0] |
| 19 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT FOR CHANNEL 'ch1'; |
| 20 |
include/start_slave.inc |
| 21 |
include/stop_slave.inc |
| 22 |
RESET SLAVE ALL FOR CHANNEL 'ch1'; |
| 23 |
Warnings: |
| 24 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 25 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT FOR CHANNEL 'ch1'; |
| 26 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT FOR CHANNEL ''; |
| 27 |
START SLAVE; |
| 28 |
Warnings: |
| 29 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 30 |
include/stop_slave.inc |
| 31 |
RESET SLAVE ALL; |
| 32 |
Warnings: |
| 33 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 34 |
SET @@global.replica_parallel_workers=SAVE_PARALLEL_WORKERS; |
| 35 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT; |
| 36 |
include/start_slave.inc |
| 37 |
include/rpl_restart_server.inc [server_number=2] |
| 38 |
[connection master] |
| 39 |
[connection slave] |
| 40 |
call mtr.add_suppression("Replica: Failed to initialize the connection metadata structure for channel"); |
| 41 |
call mtr.add_suppression("The replica coordinator and worker threads are stopped"); |
| 42 |
call mtr.add_suppression("Recovery from source pos"); |
| 43 |
call mtr.add_suppression("It is not possible to change the type of the relay log repository because there are workers repositories with possible"); |
| 44 |
include/stop_slave.inc |
| 45 |
Warnings: |
| 46 |
Note 3084 Replication thread(s) for channel '' are already stopped. |
| 47 |
RESET SLAVE ALL; |
| 48 |
Warnings: |
| 49 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 50 |
SET @@global.replica_parallel_workers=5; |
| 51 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT FOR CHANNEL 'ch_trunk'; |
| 52 |
include/start_slave.inc |
| 53 |
=== RESTART SLAVE SERVER === |
| 54 |
include/rpl_restart_server.inc [server_number=2 parameters: --relay-log-recovery --skip-replica-start --replica-parallel-workers=5] |
| 55 |
[connection slave] |
| 56 |
START SLAVE; |
| 57 |
Warnings: |
| 58 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 59 |
include/stop_slave.inc |
| 60 |
RESET SLAVE ALL; |
| 61 |
Warnings: |
| 62 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 63 |
SET @@global.replica_parallel_workers=SAVE_PARALLEL_WORKERS; |
| 64 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='root', SOURCE_PORT=MASTER_MYPORT; |
| 65 |
include/start_slave.inc |
| 66 |
include/rpl_restart_server.inc [server_number=2] |
| 67 |
include/start_slave.inc |
| 68 |
[connection master] |
| 69 |
include/rpl_end.inc |