| 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 |
CREATE TABLE t1 (c1 int); |
| 7 |
include/sync_slave_sql_with_master.inc |
| 8 |
include/stop_slave_sql.inc |
| 9 |
[connection master] |
| 10 |
INSERT INTO t1 VALUES (1); |
| 11 |
include/sync_slave_io_with_master.inc |
| 12 |
include/stop_slave_io.inc |
| 13 |
CHANGE REPLICATION SOURCE TO SOURCE_DELAY=1; |
| 14 |
include/start_slave.inc |
| 15 |
[connection master] |
| 16 |
include/sync_slave_sql_with_master.inc |
| 17 |
include/assert.inc [Assert that the $inserted_value is equal to 1] |
| 18 |
include/stop_slave.inc |
| 19 |
CHANGE REPLICATION SOURCE TO SOURCE_DELAY=0; |
| 20 |
include/start_slave.inc |
| 21 |
[connection master] |
| 22 |
DROP TABLE t1; |
| 23 |
include/rpl_end.inc |