Delphi DBX和MySQL连接的噩梦:DBX错误:无法正确初始化驱动程序 [英] Delphi DBX and MySQL connection nightmare : DBX Error: Driver could not be properly initialized

查看:652
本文介绍了Delphi DBX和MySQL连接的噩梦:DBX错误:无法正确初始化驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,过去我很头痛,无法使DBX与MySQL一起使用.在这种情节中,我试图使其与Delphi 2007一起使用,而我却迷失了寻找合适的libmysql.dll和dbxmys.dll组合的日子,尝试了数十次,直到找到一对可行的.

Ok, in the past i had a huge headache to make DBX work with MySQL. In such episode i was trying to make it work with Delphi 2007 and i lost days looking for the right libmysql.dll and dbxmys.dll combination, trying dozens until i found one couple that worked.

现在我这次在Delphi XE中遇到了同样的问题.用于D2007的相同库不适用于XE,并返回众所周知的臭名昭著的错误:

Now i have the same issue this time in Delphi XE. The same libraries used for D2007 does not work with XE, returning the very known infamous error :

DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong version, or the driver maybe be missing from the system path...

这两个库都在应用程序路径中,并且都可以在使用D2007编译的应用程序中使用,但不能与在XE中编译的同一应用程序一起使用.

Both libraries are in the app path and both work in an app compiled with D2007, but not with the same app compiled in XE.

因此,如果有人已经遇到了这个问题并找到了可与Delphi XE一起使用的库的组合,我想节省几天的研究.

So i'd like to save some days of research if someone already had this issue and found a combination of libraries that work with Delphi XE.

提前谢谢!

推荐答案

我刚刚在这里找到解决方案:

I just found the solution here :

http://wiltonsoftware.com/posts/view/getting-embarcadero-dbexpress-mysql-working-dbx-error-driver-not-initialized

这篇关于Delphi DBX和MySQL连接的噩梦:DBX错误:无法正确初始化驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆