mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
18 lines
355 B
Text
18 lines
355 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
create table t1(a int not null auto_increment, b int, primary key(a) );
|
|
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
|
select * from t1;
|
|
a b
|
|
1 10
|
|
2 15
|
|
connection slave;
|
|
connection slave;
|
|
select * from t1;
|
|
a b
|
|
1 10
|
|
2 15
|
|
connection master;
|
|
drop table t1;
|
|
connection slave;
|
|
include/rpl_end.inc
|