Documentation Home
MySQL and Windows
Related Documentation Download this Excerpt

1.3.2.1 Sandbox InnoDB Cluster Test Setup

You have two options to implement a high-availability solution when you install MySQL Server 5.7.17 or higher using MySQL Installer:

  • Standalone MySQL Server / Classic MySQL Replication (default)

    Select this option to begin the initial configuration of a standalone MySQL server. You can configure multiple servers with classic MySQL Replication manually or use MySQL Shell 1.0.9 or higher to configure a production InnoDB cluster.

    Note

    Existing instance ports (3310 to 3390) set for a sandbox InnoDB cluster that was created manually using MySQL Shell, will be deleted by MySQL Installer if you later run the sandbox InnoDB cluster test setup.

    For a description of the server configuration options that apply to a standalone MySQL server on Windows, see Section 1.3.2.2, “Server Configuration with MySQL Installer”.

  • Sandbox InnoDB Cluster Test Setup (for testing only)

    Select this option to create and configure sandbox InnoDB cluster instances locally for testing. You can configure a sandbox InnoDB cluster to have three, five, seven, or nine MySQL server instances. Use the Reconfigure quick action in the MySQL Installer toolbar to adjust the number of instances in the InnoDB cluster after the configuration has finished.

    Figure 1.3 Sandbox InnoDB cluster Test Setup

    MySQL Installer options for a sandbox InnoDB cluster test setup.

The sandbox InnoDB cluster, named sandboxCluster by default, is available on selected ports. After the configuration executes, click the Summary tab to view the specific ports that apply to your cluster. Sandbox InnoDB cluster configuration entries are stored in the installer_config.xml file.

You can use MySQL Installer to install MySQL Shell 1.0.9, if it is not installed. MySQL Shell enables you to manage the sandbox instances. To connect with the MySQL Shell on port 3310, execute the following command:

shell> mysqlsh root@localhost:3310

MySQL Installer also provides a wizard for configuring MySQL Router to connect to the test InnoDB cluster that was created in this step. For configuration details, see MySQL Router Configuration. To learn more about MySQL Router operations, see Routing for MySQL InnoDB cluster.


User Comments
Sign Up Login You must be logged in to post a comment.