I am running lazarus 3.4, fpc 3.2.2 on windows 11. I am running mysql80 on xampp. I keep having trouble with lazarus not finding libmysql.dll. I have it in the .exe directories, c:\lazarus, C:\windows\system32. I have even copied it from one computer with exactly the same set-up, that works. Don't know what else to do. Help, please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250325/63f6213f/attachment.htm>
Mailing lists / lazarus / 2025-03
libmysql.dll
4 messages · 4 people · –
- AAurimenes Apolonio 1
- JJose Chao 1
- LLarry Dalton 1
- VVirgo Pärna 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello,
Some questions:
What components do you use? (SQLdb, Zeos?)
Why do you use Xampp?
Em ter., 25 de mar. de 2025 14:37, Larry Dalton via lazarus <
Show quoted text 13 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250325/e12d584a/attachment.htm>
I am running lazarus 3.4, fpc 3.2.2 on windows 11. I am running mysql80 on xampp. I keep…
Take a look if both your exe and dll have the same architecture (I mean 32 or 64 bits). They should be the same (It doesn't care what architecture your MySQL server is running, even if they are on the same machine.
*Aurimenes Apol?nio Silva*
Desenvolvedor de Software
Fones: (81) 99935-9066 / 3132-8281
Em ter., 25 de mar. de 2025 ?s 14:37, Larry Dalton via lazarus <
Show quoted text 13 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250326/2145517c/attachment.htm>
Aurimenes Apolonio wroteTake a look if both your exe and dll have the same architecture (I mean 32 or 64 bits). They should be the same (It doesn't care what architecture your MySQL server is running, even if they are on the same machine.
Also, in 64 bit Windows 64 bit dll-s go to SYSTEM32, 32 bit ones go to SysWow64. Something, that causes confusion sometimes.
