| 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 (f1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY, f2 INT); |
| 7 |
INSERT /*+ SET_VAR(auto_increment_increment=10) SET_VAR(tmp_table_size=1024)*/ |
| 8 |
INTO t1 VALUES (NULL, @@tmp_table_size), (NULL, @@tmp_table_size); |
| 9 |
Warnings: |
| 10 |
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the replica. |
| 11 |
include/sync_slave_sql_with_master.inc |
| 12 |
SELECT * FROM t1; |
| 13 |
f1 f2 |
| 14 |
1 16777216 |
| 15 |
11 16777216 |
| 16 |
DROP TABLE t1; |
| 17 |
include/rpl_sync.inc |
| 18 |
include/rpl_end.inc |