MySQL and Zeoslib: None of the dynamic libraries can be found or not loadable (libmysql.dll) on Windows 8

ThN picture ThN · Jan 21, 2015 · Viewed 8k times · Source

I am working with MySQL server and Zeoslib with Delphi. My program can remotely connect to the MySQL database but not locally. However, it keeps raising the following error - "None of the dynamic libraries can found or not loadable..."

enter image description here

So, I searched my system for the dll file. It is found within the MySQL library folder and MySQL Workbench folder. As suggested by other websites, I copied the libmysql.dll into my application folder. Still, my program keeps raising this NOT FOUND error on my windows 8 system. Any idea?

Update

  • 64Bit Test machine - 64Bit MySQL server, 32 Bit Application using 32bit Zeolibs component.
  • 32Bit Development machine - 32Bit MySQL server, 32Bit Application using 32Bit Zeoslib component.

Answer

ThN picture ThN · Jan 21, 2015

By simply copying libmysql.dll from 32Bit System and pasting it into 64bit system within the program folder, the program was able to connect to the database locally (localhost).