Autor Beitrag
MasterBasti
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38

Windows XP
D6 Prof.
BeitragVerfasst: So 26.11.06 02:19 
Hallo zusammen,

ich stehe schon seit längerem vor dem Problem, dass ich meine MySQL-Verbindung über die Zeos Komponenten nicht aufrecht
erhalten bekomme. Nach ca. 5-10 Minuten "nichts tun", wird die Verbindung unterbrochen und es kommt zu einer Fehlermeldung "time out". Ich habe zwar schonmal versucht einen Timer auf dieses Problem anzusetzen, indem ich immerwieder ein Refresh ausführe, doch ist das nicht die Lösung, die ich anstrebe, bzw. funktioniert diese auch nicht.....

Hat jmd. eine Idee, wie ich das am besten gelöst bekomme ?

Gruß

MasterBasti
bnessler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 36

alle Win's , suse u. Ubuntu Linux
Delphi1,2,4,5,7,2005, Java (Eclipse), C++,C#, (VS2005)
BeitragVerfasst: Mo 27.11.06 08:46 
Hallo,
in einem Projekt benutze ich ebenfalls die ZEOS und My SQL, habe aber dieses Problem nicht.
Meldet sich die DB in der Datenbankkomponente .afterdisconnect ab?

Dann könntest Du dort auch wieder automatisch anmelden.

Gruß
Bernhard
Bernhard Geyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 721
Erhaltene Danke: 3



BeitragVerfasst: Fr 01.12.06 10:14 
Ist es wirklich die Datenbank die Abmeldet oder hängst Du evtl. an einer Wählverbindung die sich bei Inaktivität beendet.

Häng mal Testhalber einen Ping an den DB-Server rein so das noch Aktivität ist.