简体   繁体   English

MySQL ODBC连接器32位还是64位?

[英]MySQL ODBC connector 32bit or 64bit?

I want a 32bit bit application (running on Windows 7 64bit) to connect to MySQL 5 64bit through ODBC. 我想要一个32位的应用程序(在Windows 7 64bit上运行)通过ODBC连接MySQL 5 64bit。

Does the MySQL ODBC connector have to be 32 or 64 bit? MySQL ODBC连接器必须是32位还是64位?

Does the MySQL ODBC connector's register size have to match the application's or MySQL's? MySQL ODBC连接器的寄存器大小是否必须与应用程序或MySQL相匹配? Windows 7 64bit can handle 32bit as well as 64bit connectors - so this does not matter. Windows 7 64bit可以处理32位和64位连接器 - 所以这没关系。

(verified with R 32bit and 64bit / Windows 7 64bit / MySQL 5 32bit.) (经过R 32bit和64bit / Windows 7 64bit / MySQL 5 32bit验证。)

Only the application's architecture (32bit or 64bit) that connects via the ODBC adapter does matter and has to be matched by it. 只有通过ODBC适配器连接的应用程序架构(32位或64位)才有意义并且必须与之匹配。

Windows 7 64bit can handle both 32bit and 64bit ODBC connectors (different data source managers though) Windows 7 64位可以处理32位和64位ODBC连接器(不同的数据源管理器)

To MySQL 5 32bit you can connect with a 32bit as well as with a 64bit ODBC connector. 对于MySQL 5 32位,您可以连接32位以及64位ODBC连接器。

You cannot link a 32 bit application to a 64 bit ODBC driver so you have no choice if your app is 32 bit. 您无法将32位应用程序链接到64位ODBC驱动程序,因此如果您的应用程序是32位,则别无选择。 Whether the 32 bit ODBC driver talks to the 64 bit mysql is another 32位ODBC驱动程序是否与64位mysql进行对话是另一回事

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

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