欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

mysql connector配置_mysql connector odbc配置注意事项

发布时间:2023/12/10 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 mysql connector配置_mysql connector odbc配置注意事项 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

官方下载:

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:

32-bit version:

After installing that, then re-attempt installing the MySQL ODBC connector, and things should work smoothly.

总结

以上是生活随笔为你收集整理的mysql connector配置_mysql connector odbc配置注意事项的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。