17 lines
843 B
Plaintext
17 lines
843 B
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]
|
|
RESET MASTER;
|
|
include/rpl_stop_server.inc [server_number=1]
|
|
include/rpl_start_server.inc [server_number=1]
|
|
[connection slave]
|
|
CALL mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state");
|
|
CALL mtr.add_suppression("Got fatal error 1236 from master when reading data from binary log:");
|
|
START SLAVE;
|
|
FLUSH LOGS;
|
|
STOP SLAVE;
|
|
RESET SLAVE;
|
|
include/rpl_end.inc
|