Delphi DBX and MySQL connection nightmare : DBX Error: Driver could not be properly initialized

泪湿孤枕 提交于 2019-12-11 07:59:31

问题


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.

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...

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.

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.

Thanks in advance !


回答1:


I just found the solution here :

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



来源:https://stackoverflow.com/questions/31443220/delphi-dbx-and-mysql-connection-nightmare-dbx-error-driver-could-not-be-prope

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!