18 lines
635 B
Plaintext
18 lines
635 B
Plaintext
include/master-slave.inc
|
|
Warnings:
|
|
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
|
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
|
|
[connection master]
|
|
include/sync_slave_sql_with_master.inc
|
|
stop slave;
|
|
create table t1 (a int) engine=NDB;
|
|
reset slave;
|
|
start slave;
|
|
stop slave;
|
|
start slave;
|
|
select max(a) from t1;
|
|
max(a)
|
|
loop_max
|
|
drop table t1;
|
|
include/rpl_end.inc
|