mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
35 lines
889 B
Text
35 lines
889 B
Text
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;
|
|
drop database if exists mysqltest;
|
|
create database mysqltest;
|
|
create table mysqltest.t1 (n int);
|
|
insert into mysqltest.t1 values (1);
|
|
select * from mysqltest.t1 into outfile 'mysqltest/f1.txt';
|
|
create table mysqltest.t2 (n int);
|
|
create table mysqltest.t3 (n int);
|
|
drop database mysqltest;
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest/', errno: 17)
|
|
use mysqltest;
|
|
show tables;
|
|
Tables_in_mysqltest
|
|
drop database mysqltest;
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest/', errno: 17)
|
|
use mysqltest;
|
|
show tables;
|
|
Tables_in_mysqltest
|
|
use test;
|
|
create table t1 (n int);
|
|
insert into t1 values (1234);
|
|
use mysqltest;
|
|
show tables;
|
|
Tables_in_mysqltest
|
|
use test;
|
|
select * from t1;
|
|
n
|
|
1234
|
|
drop table t1;
|
|
stop slave;
|