mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
19 lines
763 B
Text
19 lines
763 B
Text
CREATE DATABASE federated;
|
|
CREATE DATABASE federated;
|
|
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!
|
|
Error 1 Can't create/write to file 'non_existing' (Errcode: 14 "Bad address")
|
|
Error 1005 Can't create table `test`.`t1` (errno: 1 "Operation not permitted")
|
|
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;
|
|
DROP TABLE IF EXISTS federated.t1;
|
|
DROP DATABASE IF EXISTS federated;
|
|
DROP TABLE IF EXISTS federated.t1;
|
|
DROP DATABASE IF EXISTS federated;
|