Lazarus

Programming => Databases => Topic started by: prashanth on October 10, 2021, 12:51:06 pm

Title: could not load default MYSQL librarary "libmysql.dll"
Post by: prashanth on October 10, 2021, 12:51:06 pm
Dear Members,

After applying Windows 10 Updates of October2021,My program is throwing an unexpected exception,
Could not load default MYSQL librarary ("libmysql.dll"or "libmysql.dll") Check your installation.
Before updates, it worked perfectly.

I've Googled about exception of missing libmysql.dll, tried all possible ways, still exception occurs.
Please help..

Title: Re: could not load default MYSQL librarary "libmysql.dll"
Post by: marcov on October 10, 2021, 12:56:48 pm
Apparently the program uses this dll to accces the MYSQL database server.

It is possible that the windows update change the library search paths so that it now can't find it anymore.

Easiest is to hunt down the mysql (client?) directory, get the DLL there, and put it next to the program.
TinyPortal © 2005-2018