Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi 10, MySQL, FireDAC


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Apr 11, 2017 7:25 PM Last Post By: Jim Sawyer
Jim Sawyer

Posts: 214
Registered: 1/3/10
Delphi 10, MySQL, FireDAC  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 11, 2017 7:44 AM
I have been programming in x32bit with Delphi 10 for about a year. I am currently trying to compile in x64bit. It goes through the compilation
process, but when it attemps to run the executable, I get the following error:

[FireDAC][phys][Mysql]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. %1 is not a valid Win32 application.

What is going on and how do I correct the issue?

Thanks,
Jim Sawyer
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Delphi 10, MySQL, FireDAC  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 11, 2017 12:42 PM   in response to: Jim Sawyer in response to: Jim Sawyer
Jim Sawyer wrote:

[FireDAC][phys][Mysql]-314. Cannot load vendor library [libmysql.dll
or libmysqld.dll]. %1 is not a valid Win32 application.

What is going on and how do I correct the issue?

Make sure that your exe first finds the 64bit version of the dlls.
Jim Sawyer

Posts: 214
Registered: 1/3/10
Re: Delphi 10, MySQL, FireDAC  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 11, 2017 7:25 PM   in response to: Lajos Juhasz in response to: Lajos Juhasz
Thanks for the assistance. It turns out that the libmysql.dll needed to be updated.

Thanks,
Jim Sawyer

Lajos Juhasz wrote:
Jim Sawyer wrote:

[FireDAC][phys][Mysql]-314. Cannot load vendor library [libmysql.dll
or libmysqld.dll]. %1 is not a valid Win32 application.

What is going on and how do I correct the issue?

Make sure that your exe first finds the 64bit version of the dlls.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02