---
title: "找不到 mysql odbc 安装例程"
author: "chokee"
date: "2016-10-12T10:31:11Z"
tags: []
categories: ["数据库"]
slug: "mysql-odbc"
draft: false
lastmod: "2016-10-12T10:31:29Z"
id: 2330026
url: "https://chokee.iteye.com/blog/2330026"
---

mysql connector odbc配置注意事项
发表于2014/6/23 19:34:54  12489人阅读
分类： mysql

官方下载：
http://dev.mysql.com/downloads/connector/odbc/
有64位和32位版本，<span style="color:darkred">要根据自己的office版本是32还是64的安装</span>
1、版本匹配问题：
  在指定的 DSN 中，驱动程序和应用程序之间的体系结构不匹配
SQL Server自带有两个版本的odbc配置程序：
   64位版的位置：C:\windows\system32\odbcad32.exe
   32位版的位置：C:\windows\sysWOW64\odbcad32.exe
在64位操作系统上注意要安装正确的版本，安装哪个版本取决于你的office版本，不取决于操作系统。
启动odbc配置程序请通过上面命令行启动
2、Error 1918，系统错误代码126，找不到指定模块
安装下面的Visual C++ 2010即可
Error 1918. Error installing ODBC driver MySQL ODBC 5.1 Driver, 
ODBC error 13: The setup routines for the MySQL ODBC 5.1 Driver 
could not be loaded due to system error code 126: 
The specified module could not be found. 
...\myodbc5S.dll).. Verify...
Then you will need to install the Microsoft Visual C++ 2010 Redistributable Package (select the appropriate one for your OS architecture below):

64-bit version:

http://www.microsoft.com/en-us/download/confirmation.aspx?id=14632

32-bit version:

http://www.microsoft.com/en-gb/download/details.aspx?id=5555

After installing that, then re-attempt installing the MySQL ODBC connector, and things should work smoothly.