Bug #89990 MSI Installer Addtional option
Submitted: 9 Mar 2018 14:05 Modified: 19 Jan 2022 3:03
Reporter: Colin Bruce Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S4 (Feature request)
Version:5.7, 8.0 OS:Windows
Assigned to: CPU Architecture:Any

[9 Mar 2018 14:05] Colin Bruce
Description:
I've installed the latest stable version of MySQL on Windows and it is very impressive. However, I have one small quibble which I am sure if it were implemented could help a lot of people. This is to include an option in the installer to let whoever is installing MySQL choose the location of the data directory rather than just placing it in C:\ProgramData\MySQL. The same would be helpful for UNIX and Mac installations. I know that once it is installed the data directory can be moved but that fails miserably on Windows 8.1. Once it is moved MySQL server refuses to start. Oddly enough that is also the case with MariaDB which does offer the option to change the data directory but if any location other than the standard one is used the server fails to start.

How to repeat:
Try installing MySQL server on any operating system and note that the installer does not give the option to choose a data directory.

Suggested fix:
Add the option to the configuration section of the installer to choose the location where the databases will be stored.
[9 Dec 2021 11:02] MySQL Verification Team
Hello Colin Bruce,

Thank you for the reasonable feature request!

regards,
Umesh
[10 Dec 2021 18:35] Jose Ramirez
Posted by developer:
 
Hello,
When on Windows and using MySQL Installer, it is possible to specify the location of the data directory as follows:
1. If other MySQL products are already installed, click "Add" in the main dashboard. If this is the first MySQL product being installed, then the user will be presented with the "Choosing a setup type" page, if this is the case select the "Custom" option and click "Next.
2. In the "Select Products" page select the MySQL Server version to install and add it to the "Products to be installed" section.
3. Highlight the selected MySQL Server product in the "Products to be installed" section. You will see an "Advanced options" link appear in the bottom of the page.
4. Click the "Advanced options" link and specify the installation and data directory as required.
5. Finally proceed with the installation/configuration as required.
[19 Jan 2022 3:03] Jose Ramirez
Posted by developer:
 
Rejecting since the proposed enhancement is already available in current version of MySQL Installer.
If an additional issue is reported the bug could be reopened.