1
by brian
clean slate |
1 |
stop slave;
|
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
3 |
reset master;
|
|
4 |
reset slave;
|
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
6 |
start slave;
|
|
7 |
drop database if exists mysqltest1;
|
|
8 |
create database mysqltest1;
|
|
9 |
create table mysqltest1.t1 (n int);
|
|
10 |
insert into mysqltest1.t1 values (1);
|
|
11 |
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
|
|
12 |
create table mysqltest1.t2 (n int);
|
|
13 |
create table mysqltest1.t3 (n int);
|
|
14 |
drop database mysqltest1;
|
|
15 |
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
16 |
use mysqltest1;
|
|
17 |
show tables;
|
|
18 |
Tables_in_mysqltest1
|
|
19 |
drop database mysqltest1;
|
|
20 |
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
21 |
use mysqltest1;
|
|
22 |
show tables;
|
|
23 |
Tables_in_mysqltest1
|
|
24 |
use test;
|
|
25 |
create table t1 (n int);
|
|
26 |
insert into t1 values (1234);
|
|
27 |
use mysqltest1;
|
|
28 |
show tables;
|
|
29 |
Tables_in_mysqltest1
|
|
30 |
use test;
|
|
31 |
select * from t1;
|
|
32 |
n
|
|
33 |
1234
|
|
34 |
stop slave;
|
|
35 |
drop database mysqltest1;
|
|
36 |
drop database mysqltest1;
|
|
37 |
use test;
|
|
38 |
drop table t1;
|