I am using MariaDB 10.1 64x and experiencing error with FederatedX engine. First, I create an server:
CREATE SERVER AAA_fed
Foreign data Wrapper mysql_1
OPTIONS (
User 'user1',
password 'password',
host 'x.x.x.x',
Port 3306,
database 'AAA'
);
and then create federated table using connection to the server.
CREATE TABLE table1
ENGINE = FEDERATED
CONNECTION='AAA_fed';
The table is created successfully, but when selecting data from it, it response an error:
Error Code: 1296. Got error 10000 'Error on remote system: 0: ' from FEDERATED
Does anyone know the solution to this? I keep searching but cannot find the answer. Thank you.
WRAPPERshould be a recognized connection protocol.Example: