Bug #89990 MSI Installer Addtional option
Submitted: 9 Mar 2018 14:05
Reporter: Colin Bruce Email Updates:
Status: Open Impact on me:
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:5.7 OS:Microsoft Windows (8.1)
Assigned to: CPU Architecture:Any

[9 Mar 2018 14:05] Colin Bruce
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.