| 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 |
include/stop_slave.inc |
| 7 |
CHANGE REPLICATION SOURCE TO SOURCE_RETRY_COUNT=3, SOURCE_HOST='300.1.1.1', SOURCE_CONNECT_RETRY=1; |
| 8 |
START SLAVE io_thread; |
| 9 |
Warnings: |
| 10 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 11 |
include/wait_for_slave_io_to_stop.inc |
| 12 |
RESET SLAVE; |
| 13 |
Warnings: |
| 14 |
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead |
| 15 |
CHANGE REPLICATION SOURCE TO SOURCE_HOST = '127.0.0.1'; |
| 16 |
include/rpl_end.inc |