My Oracle Support Banner

Getting Started with MySQL 5.7 InnoDB Cluster - How to Set Up a Cluster from Scratch? (Doc ID 2305851.1)

Last updated on SEPTEMBER 04, 2023

Applies to:

MySQL Router - Version 2.1 to 2.1 [Release 2.1]
MySQL Server - Version 5.7 to 5.7 [Release 5.7]
Information in this document applies to any platform.

Goal

Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see https://dev.mysql.com/doc/mysqld-version-reference/en/ for a complete list of those changes, and in which minor versions it happened.

Install an initial InnoDB Cluster from scratch.

These instructions are for MySQL 5.7. The steps have been simplified in MySQL 8.0 for example with the support of SET PERSIST/SET PERSIST_ONLY which allows configuring the instance remotely and the RESTART command which allows MySQL Shell to restart MySQL Server. A good video tutorial of setting up MySQL InnoDB Cluster in MySQL 8.0 can be found in the blog MySQL InnoDB Cluster Tutorial Videos.

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
 Getting MySQL Server Ready
 Creating the InnoDB Cluster in MySQL Shell
 Setting up MySQL Router
 Testing MySQL InnoDB Cluster
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.