mysql connector odbc配置注意事项

来源:互联网 发布:淘宝网充气浴缸 编辑:程序博客网 时间:2024/05/21 22:54

官方下载:

http://dev.mysql.com/downloads/connector/odbc/

有64位和32位版本,要根据自己的office版本是32还是64的安装

1、版本匹配问题:

 [Microsoft][ODBC 驱动程序管理器] 在指定的 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.



2 0
原创粉丝点击