| 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 |
SET SQL_LOG_BIN=0; |
| 7 |
SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; |
| 8 |
CREATE TABLE t1 (c1 char(255) DEFAULT NULL, KEY c1 (c1)) |
| 9 |
ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf32; |
| 10 |
SET sql_mode = default; |
| 11 |
SET SQL_LOG_BIN=1; |
| 12 |
SET @saved_replica_type_conversions= @@global.replica_type_conversions; |
| 13 |
include/stop_slave.inc |
| 14 |
SET GLOBAL REPLICA_TYPE_CONVERSIONS='ALL_NON_LOSSY'; |
| 15 |
include/start_slave.inc |
| 16 |
SET SQL_LOG_BIN=0; |
| 17 |
SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; |
| 18 |
CREATE TABLE t1 ( c1 varchar(255) DEFAULT NULL, KEY c1 (c1)) |
| 19 |
ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf32; |
| 20 |
SET sql_mode = default; |
| 21 |
SET SQL_LOG_BIN=1; |
| 22 |
INSERT INTO t1(c1) VALUES ('insert into t1'); |
| 23 |
DROP TABLE t1; |
| 24 |
include/sync_slave_sql_with_master.inc |
| 25 |
SET GLOBAL REPLICA_TYPE_CONVERSIONS= @saved_replica_type_conversions; |
| 26 |
include/stop_slave.inc |
| 27 |
include/start_slave.inc |
| 28 |
include/rpl_end.inc |