Bug #70547 AccessViolationException when using GetSchema API
Submitted: 7 Oct 2013 20:34 Modified: 22 Oct 2013 2:28
Reporter: Andrey Belykh Email Updates:
Status: Closed Impact on me:
Category:Connector / ODBC Severity:S2 (Serious)
Version:5.2.5 (64 bit) OS:Windows
Assigned to: Bogdan Degtyariov CPU Architecture:Any

[7 Oct 2013 20:34] Andrey Belykh
AccessViolationException when using GetSchema API "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

How to repeat:
Use the following C# code with 64 bit ODBC MySQL driver

using (OdbcConnection connection = new OdbcConnection("DSN=MySQL"))

Suggested fix:
[21 Oct 2013 7:46] Bogdan Degtyariov
Hi Andrey,

Thank you for your interest in MySQL software.
I was able to repeat the problem you reported with Connector/ODBC version 5.2.5, but the recently released version 5.2.6 worked well for me.
Do you think you could give it a try?
The versin 5.2.6 is now available for downloading from the following page:


Please let me know about the results.
[21 Oct 2013 14:50] Andrey Belykh
Hello Bogdan,

I downloaded the new version and it is working fine for me now. Thank you for your response.
[22 Oct 2013 2:28] Bogdan Degtyariov

Thanks for your feedback. I am glad to hear that the problem is fixed in the new version. Closing the bug report.