MySQL Forums
Forum List  »  MySQL Shell

Re: mysql-shell: cannot create a new cluster in ubuntu multipass vm
Posted by: jon gore
Date: March 06, 2023 11:41PM

The error message suggests that the Group Replication plugin was unable to start due to a problem initializing the group communication layer. Specifically, it appears that the local IP address configured for the node ('mysql-pri:3306') does not match any of the local IP addresses on the instance.

To correct this, you can try setting the group_replication_local_address system variable in MySQL on the instance to a valid IP address for the server, instead of using the hostname. You can also try using the localAddress option in the dba.createCluster() command to specify the IP address of the server.

For example, you can try setting the local address with this command:

Copy code
SET GLOBAL group_replication_local_address='';
Then, try running dba.createCluster() again with the localAddress option like this:

Copy code
cdCluster = dba.createCluster("cd-cluster", { localAddress: "" });
This should use the specified IP address for group replication communication and allow the cluster to be created successfully.

Options: ReplyQuote

Written By
Re: mysql-shell: cannot create a new cluster in ubuntu multipass vm
March 06, 2023 11:41PM

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.