官方下载:
http://dev.mysql.com/downloads/connector/odbc/
有64位和32位版本,要根据自己的office版本是32还是64的安装
1、版本匹配问题:
SQL Server自带有两个版本的odbc配置程序:
启动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.