Xdata and Firedac


I'm testing xdata server on Ubuntu 22.04 Lts with mysql(Firedac).

i have libmysqlclient.so in the project folder.

When i open then connection, i have this error :

    "error": {
        "code": "FDException",
        "message": "[FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysqlclient.so, libmariadb or libmysqld.so]. Hint: check it is in the PATH or application EXE directories, and has x64 bitness."


When i test with fmx project on the same Machine, the connection is ok

I believe this is out of XData scope. It's just a FireDAC configuration, XData doesn't make any assumption, or misconfiguration on FireDAC itself.

Thank you for reply.

I don't knwon, because i copied the control ( fdconnection) to project fmx test.
If i don't have the libmysqlclient.so in the project folder, i have the same error message but if libmysqlclient.so is in, i don't have the message.

So why with my xdataserver, even if i have the libmysqlclient.so in the project, i get the error message.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.