简体   繁体   English

Delphi IDE 和 MySQL 32 位和 64 位版本

[英]Delphi IDE and MySQL 32 and 64 bit versions

I have seen references to this over the web, but can't seem to configure this correctly.我在 web 上看到了对此的引用,但似乎无法正确配置它。 I am using Delphi XE8我正在使用 Delphi XE8

I am devloping a Delphi based 64-bit MySQL application for MySQL after installing MySQL 64-bit, which works fine.我正在为 MySQL 开发一个基于 Delphi 的 64 位 MySQL 应用程序安装 Z62A004B95946BB975461AFAbit47

However, I need to make design-time changes in the IDE, such as viewing tables, mapping db-aware controls to the fields, etc.但是,我需要在 IDE 中进行设计时更改,例如查看表、将 db-aware 控件映射到字段等。

I initially installed the 64bit MySQL, not knowing that the 32-bit Delphi IDE would need the 32-bit MySQL for IDE developing/editing/inspecting. I initially installed the 64bit MySQL, not knowing that the 32-bit Delphi IDE would need the 32-bit MySQL for IDE developing/editing/inspecting.

So I don't think I can have both 32 AND 64 bit MySQL installed on the same machine using the same 3306 port (or maybe I can?).所以我不认为我可以使用相同的 3306 端口将 32 位和 64 位 MySQL 安装在同一台机器上(或者我可以?)。

Does this mean if i want to inspect or work in the 32 bit IDE environment that I can't use the 64 bit MySQL?这是否意味着如果我想在无法使用 64 位 MySQL 的 32 位 IDE 环境中检查或工作? I have already designed a database in the 64 bit MySQL.....我已经在64位MySQL中设计了一个数据库.....

I saw references to adding the paths to the FDDrivers.ini files, but I can't seem to get this going.我看到了将路径添加到 FDDrivers.ini 文件的引用,但我似乎无法做到这一点。

Please any thoughts??请问有什么想法吗?? Doug道格

Delph needs neither a 32bit nor a 64bit MySQL server, it just needs the correct client libraries ("drivers"). Delph 既不需要 32 位也不需要 64 位 MySQL 服务器,它只需要正确的客户端库(“驱动程序”)。 This imnplies, that you can keep your 64bit MySQL server on port 3306 and just install the 32bit client libraries.这意味着,您可以将 64 位 MySQL 服务器保留在端口 3306 上,只需安装 32 位客户端库。 This should install quite fine in parallel to your existing 64bit client libs.这应该可以很好地与您现有的 64 位客户端库并行安装。

Just to make that clear: A 32bit client can talk to a 64bit server and vice versa.明确一点:32 位客户端可以与 64 位服务器通信,反之亦然。 Only the server needs a listening port.只有服务器需要一个监听端口。

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

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