简体   繁体   English

从Delphi XE3连接到嵌入式MySQL

[英]Connect to Embedded MySQL from Delphi XE3

How could I connect to Embedded MySQL server (libmysqld.dll library) from Delphi XE3? 如何从Delphi XE3连接到嵌入式MySQL服务器(libmysqld.dll库)? For now I know only one way – use DevArt MyDAC components (specific TMyEmbConnection), but it is paid what is unacceptable for my task now. 到目前为止,我只知道一种方法–使用DevArt MyDAC组件(特定于TMyEmbConnection),但是这对我的任务来说是不可接受的。 Try to use dbExpress, but not successful. 尝试使用dbExpress,但不成功。

So, I have two questions: 1. Can I use dbExpress or any other components from Delphi XE3? 因此,我有两个问题:1.是否可以使用dbExpress或Delphi XE3中的任何其他组件? 2. Any third-party components (prefer free)? 2.是否有任何第三方组件(免费提供)?

Thanks 谢谢

I've used ZeosLib for that in the past. 我过去曾使用ZeosLib Worked quite well actually, although really soon it turned out that it was easier to have a central database. 实际上工作得很好,尽管很快就发现拥有中央数据库会更容易。

Several people wanted to use the application, and then they wanted to share their changes, and keep things in sync, etc. Luckily, switching to a mysql server was not much more work than copying the data, and changing the connection component parameters. 几个人想要使用该应用程序,然后他们想要共享更改,并使事情保持同步等。幸运的是,切换到mysql服务器并没有比复制数据和更改连接组件参数多得多的工作。

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

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