Hi!
I'm using Delphi 7 and MySQL 5.0.15, and Zeos supports only MySQL version 4.1, but works fine with 5.0.
I'm in the beginning of a new, large project, and I think optimization is a good thing,
so my question: which version shall support MySQL 5.0 ?
(sorry for my baaaad English )
MySQL 5
Moderators: gto, cipto_kh, EgonHugeist
-
- Fresh Boarder
- Posts: 22
- Joined: 23.11.2005, 09:19
Yes it seems strange, i have noted this yesterday with mysql 4.1.
ihave noted this, it seems so strange.
I have traced the execution an it freezes when zeos call the Windows's FreeLibrary API call, it seems windows freezes the thread there.
I will do more tests to see how to solve this problem because this is new.
What version of Mysql, and windows version (including service packs) do you have?
ihave noted this, it seems so strange.
I have traced the execution an it freezes when zeos call the Windows's FreeLibrary API call, it seems windows freezes the thread there.
I will do more tests to see how to solve this problem because this is new.
What version of Mysql, and windows version (including service packs) do you have?
-
- Fresh Boarder
- Posts: 22
- Joined: 23.11.2005, 09:19
I solved this problem, but I had to build my own mysql 5.0 driver, and in doing so, ended up building a whole new wrapper.
http://seegernet.koolhost.de/zeosforum/ ... .php?t=397
Regardless of what is said above, mysql 4.0, 4.1, and 5.0 all need separate DLL's. The DLL's provided with zeos are old. The 4.1 driver is cobbled together, but works well enough for zeos.
I would say for the time being: Don't rely on the 4.1 driver to work mysql 5.0. If it does, it's more or less a happy accident. At least use the mysql 5.0 library dll, that will probably fix the freezing problem, and may be a good enough long term solution for you.
http://seegernet.koolhost.de/zeosforum/ ... .php?t=397
Regardless of what is said above, mysql 4.0, 4.1, and 5.0 all need separate DLL's. The DLL's provided with zeos are old. The 4.1 driver is cobbled together, but works well enough for zeos.
I would say for the time being: Don't rely on the 4.1 driver to work mysql 5.0. If it does, it's more or less a happy accident. At least use the mysql 5.0 library dll, that will probably fix the freezing problem, and may be a good enough long term solution for you.
-
- Fresh Boarder
- Posts: 22
- Joined: 23.11.2005, 09:19
Hi.
Uninstalling ZoneAlarm solve the problem.
In ZPlainLoader.pas, I comment in TZNativeLibraryLoader.FreeNativeLibrary
It's not clean, but it's solve my problem with mySQL 4.1 and ZoneAlarm.
Greatings
Gabriel
I notice this problem after installing a new version of ZoneAlarm.killerjohn wrote:after opening and and closing a database connection to mysql, my application can't exit. Appliaction.Terminate didn't work - my app remains in memory. And I've this problem only with my computer at home.
Uninstalling ZoneAlarm solve the problem.
In ZPlainLoader.pas, I comment in TZNativeLibraryLoader.FreeNativeLibrary
Code: Select all
procedure TZNativeLibraryLoader.FreeNativeLibrary;
begin
// if (Handle <> 0) and Loaded then ***ZONEALARM***
// FreeLibrary(Handle); ***ZONEALARM***
Handle := 0;
Loaded := False;
end;
Greatings
Gabriel