I am using 3.4, fpc 3.2.2. Has libmysql.dll been included in that? I am using xampp phpmyadmin, on my laptop, and don't have libmysql.dll in my windows/system directory or the root directory of my application, and it does not seem to require it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250123/10fc5d4f/attachment.htm>
Mailing lists / lazarus / 2025-01
libmysql.dll
5 messages · 4 people ·
- LLarry Dalton 2
- AAurimenes Silva 1
- JJohn Landmesser 1
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Larry Dalton wroteI am using 3.4, fpc 3.2.2. Has libmysql.dll been included in that? I am using xampp phpmyadmin, on my laptop, and don't have libmysql.dll in my windows/system directory or the root directory of my application, and it does not seem to require it.
We don't distribute libraries.
If you have phpmyadmin, then normally you must have a mysql client library somewhere (unless php was compiled with a static version of the lib). It's probably named differently. libmysqlclient or somesuch.
Michael.
I?ll try that. I have removed all instances of libmysql.dll from my laptop and it runs fine. However, my desktop doesn?t
On Thu, Jan 23, 2025 at 08:44 Michael Van Canneyt via lazarus <
Show quoted text 24 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250123/4ef768c1/attachment.htm>
Larry Dalton wrote 33 lines
Perhaps this link gives you some useful hints:
https://dev.mysql.com/doc/refman/8.4/en/windows-installation.html
I never used mysql but for sqlite i learned : the *.dll have to be in the directory where your application *.exe exists
Good luck
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250123/4ecda758/attachment.htm>
Take into consideration that both the exe and the dll should have the same architecture (both 32 or 64 bits). This is a common issue for a dll not being working.
Place the Dll on your exe's folder or in a folder that is listed in the path and it will work.
*Aurimenes Silva*
Desenvolvedor de Software
(81) 99935-9066
John Landmesser wroteAm 23.01.25 um 17:02 schrieb Larry Dalton via lazarus: > I?ll try that. I have removed all instances of libmysql.dll from my > laptop and it runs fine. However, my desktop doesn?t
