MySQL Forums
Forum List  »  InnoDB clusters

Re: Problem with white_list
Posted by: Miguel Araujo
Date: May 14, 2018 04:46AM

Hi Carlo,

In order to specify the IP whitelist for your InnoDB cluster please use the 'ipWhiteList' option of the dba.createCluster() command. Example:

mysqlsh> var cluster=dba.createCluster('testCluster', {ipWhitelist: "80.211.34.75"});

Please consult the MySQL InnoDB cluster user-guide relevant section at:

https://dev.mysql.com/doc/refman/8.0/en/mysql-innodb-cluster-working-with-cluster.html#create-whitelist-servers

You can also check the online helper for more information:

mysqlsh> dba.help("createCluster")

Lastly, a general recommendation, please do not mix Shell/AdminAPI commands with manual commands. There's no need for it and it often leads to undesired/unexpected behaviour and issues.

Thanks,
Miguel

Options: ReplyQuote


Subject
Views
Written By
Posted
1565
May 11, 2018 05:20AM
Re: Problem with white_list
833
May 14, 2018 04:46AM
448
May 14, 2018 04:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.