MySQL Forums
Forum List  »  Connector/ODBC

MySQL ODBC Connector 9.1.0 - Connection Issues in ODBC Data Source Administrator and Connected Application
Posted by: Shawn Conway
Date: October 30, 2024 02:40PM

I have downloaded/ tried installing the MySQL ODBC Connector Version 9.1.0 from the General Availability Releases page; the installation completes successfully, but when I configure the DSN in 64-bit ODBC Data Source Administrator, and click "Test" (or click the "Database" dropdown), ODBC Data Source Administrator crashes.

The connector also doesn't work from a connected 64-bit application which leverages it to connect to a MySQL database (running MySQL version 8), and causes the connected application to throw an exception and stop running. I do not have this same issue with prior versions, including the other recommended version on the GA releases page, 8.0.4.

Enabling tracing and testing the connection shows that the driver fails to complete the connection step. The last entry logged to the tracing log file shows "ENTER SQLDriverConnectW ", but ends there with no further logs generated.

Looking at event viewer, after ODBC Data Source Administrator crashes while testing the DSN I set up using the connector, I can see the below error message:

"Faulting application name: odbcad32.exe, version: 10.0.19041.1
Faulting module name: MSVCP140.dll, version: 14.36.32532.0
Exception code: 0xc0000005"

As far as I'm aware, I have the correct dependencies installed on my machine (Microsoft Visual C++ 2015-2022) required for version 9.1.0, and version 8 of MySQL is supported in connector version 9.1.0.

Has anyone else encountered this issue, or have any advice on how to remedy the error I'm receiving?

Options: ReplyQuote


Subject
Written By
Posted
MySQL ODBC Connector 9.1.0 - Connection Issues in ODBC Data Source Administrator and Connected Application
October 30, 2024 02:40PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.