Search code examples
mysqldelphidelphi-xedelphi-2007dbexpress

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


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 !


Solution

  • I just found the solution here :

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