简体   繁体   English

安装odbc将Excel连接到SQL时出现问题

[英]Trouble in installing odbc to connect excel to sql

I installed the correct version of odbc via http://dev.mysql.com/downloads/connector/odbc/ using this link http://helpdeskgeek.com/office-tips/excel-to-mysql/ 我通过http://dev.mysql.com/downloads/connector/odbc/使用此链接http://helpdeskgeek.com/office-tips/excel-to-mysql/安装了正确版本的odbc

On the Start menu (windows 7), I choose Control Panel\\System and Security\\Administrative Tools, and then click Data Sources (ODBC). 在“开始”菜单(Windows 7)上,选择“控制面板\\系统和安全性\\管理工具”,然后单击“数据源(ODBC)”。 But I cannot find the option MySql ODBC 5.1 Driver as shown in http://www.online-tech-tips.com/wp-content/uploads/2010/01/create_new_data_source.png 但是我找不到如http://www.online-tech-tips.com/wp-content/uploads/2010/01/create_new_data_source.png中所示的MySql ODBC 5.1驱动程序选项

What can be the problem? 可能是什么问题? What is wrong that i cannot see the option MySql ODBC 5.1 Driver as shown in http://www.online-tech-tips.com/wp-content/uploads/2010/01/create_new_data_source.png 我看不到如http://www.online-tech-tips.com/wp-content/uploads/2010/01/create_new_data_source.png中所示的MySql ODBC 5.1驱动程序选项有什么问题

You probably installed the 32 bit version of the driver, but you use the 64 bit version of the ODBC Administration tool - or the other way round. 您可能安装了32位版本的驱动程序,但使用了64位版本的ODBC管理工具-或反过来。

If you have installed the 32bit version of the driver, you need to start the 32 bit version of the ODBC Admin tool: %windir%\\SysWOW64\\odbcad32.exe . 如果已安装32位版本的驱动程序,则需要启动32位版本的ODBC管理工具: %windir%\\SysWOW64\\odbcad32.exe

For the 64 bit version of the driver, start the 64 bit version of the ODBC Admin tool: C:\\Windows\\System32\\odbca32.exe (yes, the naming schema is somewhat confusing). 对于64位版本的驱动程序,请启动64位版本的ODBC管理工具: C:\\Windows\\System32\\odbca32.exe (是的,命名架构有些混乱)。

Note that if you have installed the 32 bit version of the driver, client applications that want to use this driver need to 32bit too - and the same for 64bit: The 64 bit driver works only with 64 bit client applicatons. 请注意,如果已安装32位版本的驱动程序,则要使用该驱动程序的客户端应用程序也需要32位-64位也是如此:64位驱动程序仅适用于64位客户端应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM