Bug #51205 "New Server Instance" does not parse %ProgramFiles%, hence doesn't find my.ini
Submitted: 16 Feb 2010 9:38 Modified: 16 Mar 2010 10:27
Reporter: Daniel Sachse Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.14 OSS OS:Windows
Assigned to: CPU Architecture:Any

[16 Feb 2010 9:38] Daniel Sachse
Description:
When adding a new (localhost) Server instance in the "Administration" field of the Home tab, right after selecting the server version from the drop down field, there is an error message saying that my.ini could not be located although the path is correct.

%ProgramFiles%\MySQL\MySQL Server 5.1\my.ini

Later on, the user is offered to specify the path (and section in the file) manually. The above path is offered as default and does, again, not work. When one specifies the full path

C:\Program Files\MySQL\MySQL Server 5.1\my.ini

all works fine.

How to repeat:
See above.

Probably independent of MySQL server version, since the problem lies in the parsing of the %ProgramFiles% bit in the path to my.ini

Suggested fix:
Easiest fix: Make the default path be fully specified, not utilizing %ProgramFiles%
[16 Feb 2010 10:27] Valeriy Kravchuk
Thank you for the problem report. Please, check with a newer version, 5.2.15, and inform about the results.
[17 Mar 2010 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".