Setting Alternative Server Paths with MySQL Installer

You can change the default installation path, the data path, or both when you install MySQL server. After you have installed the server, the paths cannot be altered without removing and reinstalling the server instance.

To change paths for MySQL server

  1. Identify the MySQL server to change and display the Advanced Options link.

    1. Navigate to the Select Products and Features step by doing one of the following:

      1. If this is an initial setup of MySQL Installer, select the Custom setup type and click Next.

      2. If MySQL Installer is installed already, launch it from the Start menu and then click Add from the dashboard.

    2. Click Edit to apply a filter on the product list shown in Available Products (see Locating Products to Install.

    3. With the server instance selected, use the arrow to move the selected server to the Products/Features To Be Installed list.

    4. Click the server to select it. When you select the server, the Advanced Options link appears. For details, see the figure that follows.

  2. Click Advanced Options to open a dialog box where you can enter alternative path names. After the path names are validated, click Next to continue with the configuration steps.

    Figure 2.9 Change MySQL Server Path

    Content is described in the surrounding text.