| 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 ( |
| 7 |
`id` int(11) NOT NULL auto_increment, |
| 8 |
`data` varchar(100), |
| 9 |
PRIMARY KEY (`id`) |
| 10 |
) ENGINE=MyISAM; |
| 11 |
Warnings: |
| 12 |
Warning 1681 Integer display width is deprecated and will be removed in a future release. |
| 13 |
INSERT INTO t1(data) VALUES(SESSION_USER()); |
| 14 |
include/sync_slave_sql_with_master.inc |
| 15 |
SELECT length(data) < 100 FROM t1; |
| 16 |
length(data) < 100 |
| 17 |
1 |
| 18 |
drop table t1; |
| 19 |
include/rpl_end.inc |