| 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 t(a int); |
| 7 |
include/sync_slave_sql_with_master.inc |
| 8 |
include/stop_slave.inc |
| 9 |
SET GLOBAL sql_replica_skip_counter = 1; |
| 10 |
include/start_slave.inc |
| 11 |
[connection master] |
| 12 |
SET SESSION binlog_transaction_compression = ON; |
| 13 |
INSERT INTO t VALUES (10); |
| 14 |
INSERT INTO t VALUES (10); |
| 15 |
include/sync_slave_sql_with_master.inc |
| 16 |
include/assert.inc [There should be exactly 1 row in table t] |
| 17 |
[connection master] |
| 18 |
DROP TABLE t; |
| 19 |
CREATE TABLE t(a int); |
| 20 |
DROP TABLE t; |
| 21 |
SET SESSION binlog_transaction_compression = BINLOG_TRANSACTION_COMPRESSION_SOURCE; |
| 22 |
include/sync_slave_sql_with_master.inc |
| 23 |
include/rpl_end.inc |