Bug #50203 Server administration can't be started when using 32-bit MySQL on 64-bit Windows
Submitted: 9 Jan 2010 12:26 Modified: 20 Aug 2010 11:52
Reporter: Gerrit van der Sanden Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.11 OSS beta rev 4842 OS:Windows (Windows 7 64-bit)
Assigned to: Alfredo Kojima CPU Architecture:Any

[9 Jan 2010 12:26] Gerrit van der Sanden
Description:
I have installed mysql-essential-5.1.42-win32.msi on Windows 7 64-bit.
The service is running properly.
I open MySQL workbench and I select "New Server Instance". In the
"Create a new server instance" window I make the following choices:
- Specify Host Machine: Localhost
- Operating System:     Windows (MySQL 5.1 Installer Package)
In the "Test Settings" screen I get an error because the database configuration
file cannot be located. The error message is:
Error: File C:\Program Files\MySQL\MySQL Server 5.1\my.ini doesn't exist
However, the ini file is in the directory
C:\Program Files (x86)\MySQL\MySQL Server 5.1
but that directory is not checked.

How to repeat:
See description

Suggested fix:
The program should search both in

C:\Program Files\MySQL\MySQL Server 5.1

and in

C:\Program Files (x86)\MySQL\MySQL Server 5.1
[10 Jan 2010 5:08] Greg .
I have the exact same problem. Why does MySQL workbench assume that everyone is going to install SQL server in C:\Program Files\MySQL\MySQL Server 5.1\
[11 Jan 2010 10:05] Johannes Taxacher
The "New Server Instance"-wizard only provides templates for the default installation on different platforms. At a later step in the wizard, you can change the suggested default path to your actual needs.

However in upcoming release (5.2.12) we will provide separate "profiles" for 32 and 64 bit server installation, to cover the "defaults" properly for different architectures.
[12 Jan 2010 7:23] Valeriy Kravchuk
I agree it would be nice to check for possible existing MySQL installations, both 32-bit and 64-bit, at least when you are working with localhost. It sounds like a reasonable feature request.
[14 Jan 2010 10:55] Susanne Ebrecht
Why checking it at all during the first check?

Why looking for my.cnf before my.cnf path is configured?

Also consider, default MySQL installation is without my.cnf at all.
[10 Feb 2010 2:32] Alfredo Kojima
Templates for 64bit windows running 32bit MySQL have been added for another bug.
[18 Mar 2010 17:42] Michael Breeden
Well I did use the default install location and it still says it doesn't exist. 
ERROR: Test Error: File %ProgramFiles%\MySQL\MySQL Server 5.1\my.ini doesn't exist
I used the enviornmental variable %ProgramFiles% to make sure I could go to the directory and the file does exist. I'm pretty stuck just now. Any suggestions?
T'anks, Mike
5.1 x86 install...
[20 Aug 2010 11:52] Johannes Taxacher
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at

  http://www.mysql.com/downloads/