Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2025-03

libmysql.dll

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Larry Dalton

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>

Reply by email

Jose Chao
to Larry Dalton

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
escreveu: 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. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250325/e12d584a/attachment.htm>

Reply by email

Aurimenes Apolonio
to Larry Dalton: 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
escreveu: 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. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250326/2145517c/attachment.htm>

Reply by email

Virgo Pärna
to Aurimenes Apolonio
Aurimenes Apolonio wrote
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.

Also, in 64 bit Windows 64 bit dll-s go to SYSTEM32, 32 bit ones go to SysWow64. Something, that causes confusion sometimes.

Virgo P?rna

Reply by email