2005-08-04 02:08:20 +02:00
|
|
|
stop slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
start slave;
|
2005-08-22 11:20:02 +02:00
|
|
|
drop database if exists mysqltest1;
|
|
|
|
create database mysqltest1;
|
|
|
|
create table mysqltest1.t1 (n int);
|
|
|
|
insert into mysqltest1.t1 values (1);
|
|
|
|
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
|
|
|
|
create table mysqltest1.t2 (n int);
|
|
|
|
create table mysqltest1.t3 (n int);
|
|
|
|
drop database mysqltest1;
|
|
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
|
|
use mysqltest1;
|
2005-08-04 02:08:20 +02:00
|
|
|
show tables;
|
2005-08-22 11:20:02 +02:00
|
|
|
Tables_in_mysqltest1
|
|
|
|
drop database mysqltest1;
|
|
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
|
|
use mysqltest1;
|
2005-08-19 05:40:14 +02:00
|
|
|
show tables;
|
2005-08-22 11:20:02 +02:00
|
|
|
Tables_in_mysqltest1
|
2005-08-04 02:08:20 +02:00
|
|
|
use test;
|
|
|
|
create table t1 (n int);
|
|
|
|
insert into t1 values (1234);
|
2005-08-22 11:20:02 +02:00
|
|
|
use mysqltest1;
|
2005-08-04 02:08:20 +02:00
|
|
|
show tables;
|
2005-08-22 11:20:02 +02:00
|
|
|
Tables_in_mysqltest1
|
2005-08-04 02:08:20 +02:00
|
|
|
use test;
|
|
|
|
select * from t1;
|
|
|
|
n
|
|
|
|
1234
|
|
|
|
drop table t1;
|
|
|
|
stop slave;
|