Erro loading libmysql.dll

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

marsupilami
Gold Boarder
Gold Boarder
Posts: 510
Joined: 17.01.2011, 14:17

Re: Erro loading libmysql.dll

Postby marsupilami » 05.03.2017, 11:16

Hello Vipeol,

usualy this means that you try to load a 64 bits dll into a 32 bits application or the other way around. You can either install a client library that matches your program or you change your program.

Under some rare circumstances I had this happen because the dll could not load some other dll that it needed. Usually I solved this with code like that:

Code: Select all

  :
  chdir(ExtractFilePath(ZConnection.LibraryPath));
  ZConnection.Connect;
  chdir(ExtractFilePath(Application.ExeName);
  :


Best regards,

Jan

Return to “MySQL”

Who is online

Users browsing this forum: No registered users and 1 guest