Sign in Join

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

Mailing lists / lazarus / 2025-01

libmysql.dll

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Larry Dalton
Larry Dalton wrote
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.

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.

Reply by email

Larry Dalton
to Michael Van Canneyt

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
wrote: On Thu, 23 Jan 2025, Larry Dalton via lazarus wrote: > 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. 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. -- _______________________________________________ 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/20250123/4ef768c1/attachment.htm>

Reply by email

John Landmesser
to Larry Dalton
Larry Dalton wrote 33 lines
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 wrote: On Thu, 23 Jan 2025, Larry Dalton via lazarus wrote: > 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. 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. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

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>

Reply by email

Aurimenes Silva
to John Landmesser

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 wrote
Am 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
O software antiv?rus Avast realizou uma checagem de v?rus neste e-mail. www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250123/43c6a964/attachment-0001.htm>

Reply by email