Page 1 of 1

unable to use embedded libmysqld.dll from mysql version 5.6.25

Posted: Wed 10 Jun 2015 14:20
by andy7
I'm new of MyDac and I need some help.

I tried to use libmysqld.dll from mysql version 5.6.25 with MyDac v.8.5.14 under Delphi XE4 but the test programs (both the demo program suplied with the library and an other one very simple build from myself).
While with library from mysql version 4.1 they work fine, with the one from version 5.6.25 I get the message:
"MySQL client library couldn''t be loaded. Please place libmysqld.dll file to system folder (included to PATH) or to the folder with executable unit of main program."
Of course that dll is in the same path of executable, I tried also to put it in windows system path but the result is always the same.
In my sample, I also have MySqlApi.pas in uses clause and I set 'MySQLEmbDisableEventLog := True;' at the creation of the form.
Of course also Mysql errmsg.sys under share directory is of the correct version di libmysqld.dll.

I've no idea to solve the problem.

Thanks to everyone can help me or can give a very small sample to connect the library.

Re: unable to use embedded libmysqld.dll from mysql version 5.6.25

Posted: Thu 11 Jun 2015 13:58
by ViktorV
This error occurs when an application can't find the MySQL Embedded library or if you have not access rights to it.
If the library is in the same folder with the application, please make sure you have enough rights for access to the library.

Re: unable to use embedded libmysqld.dll from mysql version 5.6.25

Posted: Thu 11 Jun 2015 16:44
by andy7
SORRY!
for the request.

I'm stupid.... :oops:

I copied libmysqld.dll 64 bit version but the test appliocation was 32 bit......
Now works with the correct libmysqld.dll.

Re: unable to use embedded libmysqld.dll from mysql version 5.6.25

Posted: Fri 12 Jun 2015 09:29
by ViktorV
It is good to see that the problem has been solved.
Feel free to contact us if you have any further questions about MyDAC.