1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
mariadb/mysql-test/t/rpl000017.test
unknown 458ced9f34 altered syntax from SLAVE START|STOP to START|STOP SLAVE
mysql-test/mysql-test-run.sh:
  Added --rpl option which tests all t/rpl*.test tests.
2002-10-24 17:46:14 -06:00

18 lines
539 B
Plaintext

connect (master,localhost,root,,test,0,master.sock);
connect (slave,localhost,root,,test,0,slave.sock);
connection master;
reset master;
grant replication slave on *.* to replicate@localhost identified by 'aaaaaaaaaaaaaaab';
grant replication slave on *.* to replicate@127.0.0.1 identified by 'aaaaaaaaaaaaaaab';
connection slave;
start slave;
connection master;
drop table if exists t1;
create table t1(n int);
insert into t1 values(24);
sync_slave_with_master;
select * from t1;
connection master;
drop table t1;
sync_slave_with_master;