Quantcast
Channel: My HowTo » Database
Viewing all articles
Browse latest Browse all 11

Database – MySQL ODBC Driver “architecture mismatch” Error on Win7 64-bit

$
0
0

OS: Windows 7 64-bit
Application using the ODBC Data Soruce: Excel of Office 2010 Pro 32-bit
ODBC Driver: mysql-connector-odbc-5.2.5-winx64.msi

Error Message:

[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

mysql_odbc_driver_application_mismatch_problem_001.jpg

Solution:

This “excel mysql odbc architecture mismatch” error on my newly installed 64-bit Windows 7 has puzzled me for a while and finally I’ve found the solution as described in the following steps:

1. uninstall 64-bit ODBC driver (mysql-connector-odbc-5.2.5-winx64.msi)

2. install 32-bit ODBC (driver mysql-connector-odbc-5.1.10-win32.msi)

3. Configure ODBC using the following tool (Do not use the 64bit ODBC configration tool in Control Panel)

Configuration tool: C:\Windows\SysWOW64\odbcad32.exe

Notes:

If you used the 64bit ODBC configration tool in Control Panel Control Panel\All Control Panel Items\Administrative Tools\Data Sources (ODBC), you will not be able to see any the 32-bit mysql ODBC driver when you try to add to new data source.


Viewing all articles
Browse latest Browse all 11

Trending Articles