Page 1 of 1

problem with Delphi and ZeosLib

Posted: 14.02.2014, 15:48
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

Re: problem with Delphi and ZeosLib

Posted: 16.02.2014, 16:14
by miab3
@AlexM,

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

Michal

Re: problem with Delphi and ZeosLib

Posted: 18.02.2014, 21:09
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

Re: problem with Delphi and ZeosLib

Posted: 18.02.2014, 22:54
by miab3
@AlexM,

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

miab