Bug #64808 No way to configure the MySQL installer to not have spaces in it's path
Submitted: 29 Mar 2012 19:08 Modified: 13 Jan 2015 8:24
Reporter: A. Rick Anderson Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S3 (Non-critical)
Version:5.5.21.0 OS:Windows
Assigned to: CPU Architecture:Any
Tags: installer

[29 Mar 2012 19:08] A. Rick Anderson
Description:
There doesn't appear to be any graceful way for the user to force the MySQL Installer itself, to be installed in a directory with no spaces in its classpath.

How to repeat:
Install MySQL and attempt to force the installation path to not have any spaces in it.
[30 Mar 2012 6:03] Valeriy Kravchuk
Do you mean that when one installs MySQL Installer itself (checked with 5.5.21) there is no way to specify installation path for it? Please, clarify.
[30 Mar 2012 12:19] A. Rick Anderson
In this bug report, I am referring to the directories that are created by the MySQL Installer itself.  It installs in:
${user_defined_root}\

In Windows, this defaults to:
"ProgramData\MySQL"

The root path isn't the problem.  But, beneath the user defined root node, the MySQL Installer creates another level of directory, which is "MySQL Installer".  Note the embedded space in the directory that the Installer creates for itself.  It is this embedded space that the user has no control of.

The installer does the same thing for all the actual products that it downloads and installs:
"${user_defined_root}\Connector ODBC 5.1",
"${user_defined_root}\Connector NET 6.4.4",
"${user_defined_root}\MySQL Installer",
"${user_defined_root}\MySQL Workbench CE 5.2.38",
etc.
[18 Jun 2012 21:21] Javier Rivera Zavala
I think this is not defect, working as design.
[20 Aug 2012 20:31] A. Rick Anderson
Then the bug is in the design specification.  The fact that MySQL can not gracefully be installed in a directory with no spaces means that it can't gracefully be used with Maven.