Bug #45435 mysqld is not recognized as a valid Win32 application on Windows 7
Submitted: 10 Jun 2009 18:06 Modified: 23 Oct 2009 9:09
Reporter: Santo Leto Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.1.35 OS:Windows (7 rc build 7100 32-bit)
Assigned to: CPU Architecture:Any
Tags: mysqld.exe, windows 7

[10 Jun 2009 18:06] Santo Leto
Description:
On Windows 7 rc build 7100, version 5.1.35 fails to start.

A standard Win message is returned: "mysqld.exe is not a valid Win32 application" while in the console an "Access is denied" error is returned.

No errors are returned with oldier versions of the branch (e.g. 5.1.30, 5.1.34) or with versions 5.0.82-enterprise and 6.0.11-alpha.

I am testing MySQL on Windows 7 since a long time now, and it seems this is a specific problem of version 5.1.35 only.

My archive seems ok since I've installed the same pck on Vista, with no special problems.

How to repeat:
1) Download the "unzip-in-c" pck
2) Unzip the pck and try the following command:

mysqld.exe --defaults-file="C:\MySQL\mysql-5.1.35-win32\my-small.ini" --log -P51351
[10 Jun 2009 18:06] Santo Leto
See also Bug #45406.
[10 Jun 2009 18:42] MySQL Verification Team
Which Windows 7 OS version is 32-bit or 64-bit?. Thanks in advance.
[11 Jun 2009 6:06] Santo Leto
32 bit
[12 Jun 2009 20:49] Peter Laursen
64 bit 5.0.35 MySQL server installs fine on my Win7 RC 64 bit.
[3 Oct 2009 11:05] Sveta Smirnova
Thank you for the feedback.

We can not repeat describe behavior. Please try with new version 5.1.39 and if problem still exists provide error log file (start server with --log-error option) and indicate which mirror did you use.
[23 Oct 2009 9:09] Santo Leto
can't repeat with latest version of the server (5.1.39).