hi,
In runtime i get for one query the message : ''Lost connection during
server query''. The other 20 query components on my datamodule
don't have this problem.
The error occurs when do a search. The search code i use for this
form is the same as on other forms.
When starting the apps .exe the application will be terminated when
do the search option.
What causes this problem and how to fix it.
Regards Peter
Lost connection during server query
The complete message is:
Project x raised exeption class EMYSQLException with message ''lost connection to mysql server during query''
When using ''Trace info'' in the Run menu from delphi i get the following
message :
Project x raised exeption class EMYSQLException with message
#HY000 unknown thread id: 980
Project x raised exeption class EMYSQLException with message ''lost connection to mysql server during query''
When using ''Trace info'' in the Run menu from delphi i get the following
message :
Project x raised exeption class EMYSQLException with message
#HY000 unknown thread id: 980
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
Please, send more information:mierlp wrote:The complete message is:
Project x raised exeption class EMYSQLException with message ''lost connection to mysql server during query''
When using ''Trace info'' in the Run menu from delphi i get the following
message :
Project x raised exeption class EMYSQLException with message
#HY000 unknown thread id: 980
What version of:
MySQL
MyDAC
Delphi or C++
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
i found the bug " unknown thread " in a specific version of mydac 4mierlp wrote:The complete message is:
Project x raised exeption class EMYSQLException with message ''lost connection to mysql server during query''
When using ''Trace info'' in the Run menu from delphi i get the following
message :
Project x raised exeption class EMYSQLException with message
#HY000 unknown thread id: 980
if you are using MyDAC 4, the best choise is upgrade to MyDAC 5 and use LocalFailOver to avoid LostConnection. disconnectedModel is a great tecnology.