20 lines
715 B
Plaintext
20 lines
715 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]
|
|
CREATE TABLE t1 (c1 INT);
|
|
include/sync_slave_sql_with_master.inc
|
|
include/stop_slave.inc
|
|
[connection master]
|
|
RESET MASTER;
|
|
[connection slave]
|
|
RESET MASTER;
|
|
RESET SLAVE;
|
|
include/start_slave.inc
|
|
# Kill and restart
|
|
include/rpl_reconnect.inc
|
|
[connection master]
|
|
DROP TABLE t1;
|
|
include/rpl_end.inc
|