Bug #9307 Can't enable tracing
Submitted: 21 Mar 2005 7:01 Modified: 22 Mar 2005 14:15
Reporter: David Snell Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:3.51 OS:
Assigned to: CPU Architecture:Any

[21 Mar 2005 7:01] David Snell
Description:
There is no practical way to switch over to the debug version of MyODBC

According to the manual:

' The easiest way to do this is to get myodbc3d.dll (or myodbcd.dll) from the MyODBC 3.51 distribution and copy it over the myodbc3.dll (or myodbc.dll), which is probably in your C:\windows\system32 or C:\winnt\system32 directory.'

Unfortunately, the MyODBC DLL is in use, so I can't delete or rename it. It's possible I  could free it by deleting all the MyODBC DSNs, then rebooting, but I haven't been game to try that.  The only other way would be to boot off a different system disk, which in my case would mean pulling the hard disk out of the server and installing it in another machine.

How to repeat:
Try to delete C:\windows\system32\myodbc.dll
[21 Mar 2005 7:13] David Snell
Perhaps you could add a debug option to the installer script.
[22 Mar 2005 14:15] Miguel Solorzano
The rename and delete file while it is in use is a Windows behavior.
Then today the only option you have is to stop all the aplications
that are using the Connector/ODBC driver.