How To Deploy MySQL InnoDB Cluster With Multiple Writable Instances (Multi Primary Group Replication Mode) Using MySQL Shell

(Doc ID 2337732.1)

Last updated on FEBRUARY 06, 2018

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Goal

MySQL Shell (mysqlsh) can make multi primary mode as giving a "{multiMaster:true, force:true}" argument when create a cluster. However this method is not explained well in manual.

Let's see how to make a multi primary mode via mysqlsh.

Note: this document is not for when a Group Replication needs to be adopted.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms