problem with Delphi and ZeosLib

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
AlexM
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 14.02.2014, 15:43

problem with Delphi and ZeosLib

Post by AlexM »

Hi everybody!

I need to create a delphi application with mysql as database.
The executable will run on windows 7 machines, and I also use Windows 7 on my developer pc. I'd prefer to use a "no install" server, in order not to "touch" too much the production server of my client, so I downloaded mysql-5.1.73-win32, and it runs on my machine, I can work on it with HeidiSQL gui...the server seems to be ok!
On Delphi (codegear 2009 version) I've looked around internet and it seems that Zeoslib is the best free component suite, so I've donwloaded and installed it.
the problem is when i try to connect: I always get the error:
"None of the dynamic libraries can be found: libmysql51.dll, libmysql50.dll, libmysql.dll"
I've tried to put "libmysql.dll" (found in the "bin" folder of the server) in system32 path, in the same path of the executable, on the destktop and then to set tue location_libraries property...no way, always the same error.
I did the same with the library taken from the connector zip, 32 and 64 version....no way!
What do I do wrong?
Thanks in advance and best regards

Alessandro
miab3
Zeos Test Team
Zeos Test Team
Posts: 1310
Joined: 11.05.2012, 12:32
Location: Poland

Re: problem with Delphi and ZeosLib

Post by miab3 »

@AlexM,

1 Which ZEOS version?!
2 I do not see libmysql.dll in the mysql bin directory, sooner in the lib.

Michal
AlexM
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 14.02.2014, 15:43

Re: problem with Delphi and ZeosLib

Post by AlexM »

the version I'm using is the last available now: 7.1.3
meanwhile I've solved the problem: on windows 7 putting libmysql.dll in system32 folder is not enough.
It must be copied in the exe folder when exe is launched and in delphi/bin folder where debugging
miab3
Zeos Test Team
Zeos Test Team
Posts: 1310
Joined: 11.05.2012, 12:32
Location: Poland

Re: problem with Delphi and ZeosLib

Post by miab3 »

@AlexM,

They are also such Windows 7 where libmysql.dll should be placed in the SysWOW64.

miab
Post Reply