Bug #2396 9x binaries installed for xp service
Submitted: 15 Jan 2004 3:11 Modified: 4 Mar 2004 5:23
Reporter: Cory Nelson Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:4.0.17 OS:Windows (Windows XP + SP2 Beta)
Assigned to: Michael Widenius CPU Architecture:Any

[15 Jan 2004 3:11] Cory Nelson
Description:
an install of MySQL within SP2 Beta1 results in a small wait when connecting to the database.

A 'status' query makes me think win9x binaries are installed, possibly because mysqld-nt.exe doesn't recognize SP2's version number:

mysql  Ver 12.22 Distrib 4.0.17, for Win95/Win98 (i32)

How to repeat:
mysqld-nt.exe -install
net start mysql
mysql
status
[15 Jan 2004 9:16] MySQL Verification Team
The Win95/Win98 (i32) is showed no because the client isn't able for
to get what OS it is running, this happens because the client isn't
compiled with the flag __NT__:

config-win.h

#if defined(__NT__)
#define SYSTEM_TYPE	"NT"
#elif defined(__WIN2000__)
#define SYSTEM_TYPE	"WIN2000"
#else
#define SYSTEM_TYPE	"Win95/Win98"
#endif
[4 Mar 2004 5:23] Michael Widenius
A wait on connect happens usually because a DNS lookup takes places.
You can test by starting mysqld with --skip-name-resolve and connecting to MySQL by using ip number.