確認是否有啟用 federated 引擎
用這個指令就能確認是否有啟用 FEDERATED engine 了
show engines;
show engines;
CREATE SERVER readonly_db FOREIGN DATA WRAPPER mysql OPTIONS (USER 'remote_account', HOST '192.168.1.1', DATABASE 'store', PASSWORD 'passwd');
CREATE TABLE shopping (id INT, item VARCHAR(255)) ENGINE=FEDERATED CONNECTION='readonly_db';