MySQL 8.0 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual 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.

change paths for MySQL server

  1. Identify the MySQL server to change and enable theAdvanced Optionslink.

    1. Navigate to theSelect Productspage by doing one of the following:

      1. If this is aninitial setupof MySQL Installer, select theCustomsetup type and clickNext.

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

    2. ClickEditto apply a filter on the product list shown inAvailable Products(seeLocating Products to Install.

    3. With the server instance selected, use the arrow to move the selected server to theProducts To Be Installedlist.

    4. Click the server to select it. When you select the server, theAdvanced Optionslink is enabled below the list of products to be installed (see the following figure).

  2. ClickAdvanced Optionsto open a dialog box where you can enter alternative path names. After the path names are validated, clickNextto continue with the configuration steps.

    Figure 2.9 Change MySQL Server Path

    Content is described in the surrounding text.