pre: my question is not how to generate this tables.
I just wonder, if there is a deeper reason that MySql does not offer a statement like this
CREATE TABLE my_fed_db.foobartab clone
ENGINE=FEDERATED
CONNECTION='my_remote[/localname]';
so all fields are the same definition (name, type, collation), the name of the table is the same and also DEFAULT CHARSET
is the same.
Did I just not find the syntax, is it something with security? Or is it just not implemented?
I just scripted this, but I wonder if I am the only one that could use that, or - are there hidden problems with a full clone of definition, I just will run into later.