1432 - Can't create federated table. The data source connection string %s is not in the correct format

前端 未结 2 2245
感情败类
感情败类 2021-01-18 23:07

I am having issue in federating data from remote server into my local machine. My Remote table is MyISAM , when i tried to execute

CREATE TABLE `wtc_test (
         


        
2条回答
  •  轮回少年
    2021-01-18 23:34

    The wildcard in MySQL usernames/hosts is %, not *. Apart from that, what you specify there is the destination, not the source like when you create a user or grant privileges. So you better specify a hostname or the static IP of your MySQL database server.

    And have a try with " around your password, as single quotes would terminate the connection string.

    CONNECTION='mysql://pentah:"0p@l"@yourHost:3306/replica/wtc_test';
    

    But if I were you, I would simply change the password. A password is not safe by using the most exotic symbols, it's the length that matters. Have a look at this.

提交回复
热议问题