2016-03-25 17:51:22 +01:00
|
|
|
connect master,127.0.0.1,root,,test,$MASTER_MYPORT,;
|
|
|
|
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT,;
|
|
|
|
connection master;
|
2013-05-21 13:03:37 +02:00
|
|
|
CREATE DATABASE federated;
|
2016-03-25 17:51:22 +01:00
|
|
|
connection slave;
|
2013-05-21 13:03:37 +02:00
|
|
|
CREATE DATABASE federated;
|
2016-03-25 17:51:22 +01:00
|
|
|
connection master;
|
2013-05-21 13:03:37 +02:00
|
|
|
CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing';
|
|
|
|
ERROR HY000: server name: 'non_existing' doesn't exist!
|
|
|
|
SHOW WARNINGS;
|
|
|
|
Level Code Message
|
|
|
|
Error 1 server name: 'non_existing' doesn't exist!
|
2013-06-06 17:51:28 +02:00
|
|
|
Error 1 Can't create/write to file 'non_existing' (Errcode: 14 "Bad address")
|
2014-02-01 09:32:59 +01:00
|
|
|
Warning 1030 Got error 1 "Operation not permitted" from storage engine FEDERATED
|
2013-06-07 15:35:13 +02:00
|
|
|
create table t1 (a int);
|
|
|
|
create table fed (a int) engine=Federated CONNECTION='mysql://root@127.0.0.1:MASTER_PORT/test/t1';
|
|
|
|
drop table t1;
|
|
|
|
select * from fed;
|
|
|
|
Got one of the listed errors
|
|
|
|
drop table fed;
|
2016-03-25 17:51:22 +01:00
|
|
|
connection master;
|
2013-05-21 13:03:37 +02:00
|
|
|
DROP TABLE IF EXISTS federated.t1;
|
|
|
|
DROP DATABASE IF EXISTS federated;
|
2016-03-25 17:51:22 +01:00
|
|
|
connection slave;
|
2013-05-21 13:03:37 +02:00
|
|
|
DROP TABLE IF EXISTS federated.t1;
|
|
|
|
DROP DATABASE IF EXISTS federated;
|