Bug #14976 ODBC DSN hangs when disconnecting
Submitted: 16 Nov 2005 11:12 Modified: 16 Nov 2005 16:56
Reporter: Joe Cross Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:3.51.12 OS:Microsoft Windows (XP Pro SP 2)
Assigned to: Miguel Solorzano CPU Architecture:Any

[16 Nov 2005 11:12] Joe Cross
Description:
Using ODBCAD32.EXE I can create a system or user DSN and save it.  Using the 'test' feature, ODBCAD32 hangs after reporting a successful connection. All applications that use the DSN also hang when dsconnecting. I have tried this on several machines using various forms of XP & W2K, connecting to various versions of MySQL 4.x.

How to repeat:
Use XP's ODBCAD32 to  create a System or User DSN with version 3.51 ODBC drivers.  Hit the 'test' feature.

Suggested fix:
Three fingured salute and 'end task' is the only way I can release & disconnect.
[16 Nov 2005 14:43] Miguel Solorzano
I was unable to repeat the behavior reported. Notice that I disabled DEP
(data execution prevention) on my machine.
[16 Nov 2005 16:56] Joe Cross
Thx for the reply.  I don't know how to disable DEP completely but I have disabled DEP for  ODBCAD32 and RUNDLL32.  This makes no difference.  I can repeat this on other XP SP 2 systems.  How did you disable DEP completely?
[16 Nov 2005 17:07] Miguel Solorzano
I disabled it when an application it was crashing on my computer
pop-up an screen about and I noticed a link about how to disable
it and I did. I just said you that as a guess, since some applications
were affected on my side, however how I wrote before I am unable
for to repeat the issue.

You can read also:

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2mempr.mspx