Page 1 of 1

Lost connection to MySQL server during query

Posted: Wed 05 Dec 2007 19:16
by kini
Hi

I get the error message above whenever trying to connect to MySQL server.

I have tried to create a new blank form project put a TMyConnection on the form, filling out the connection editor dialog and press the connect button - this throws the error.

The pc has a freshly installed version of windows xp and delphi.

DAC for MySQL v. 5.20.0.11 Pro
Delphi 2007 for WIN32 v. 11.0.2804.9245
MySQL server version 5.0.27

Details from the error dialog :

06D022C9]{mydac105.bpl} Myclasses.TMySQLConnection.MySQLError + $89
[06D0220A]{mydac105.bpl} Myclasses.TMySQLConnection.Check + $6
[06D028A4]{mydac105.bpl} Myclasses.TMySQLConnection.Connect + $168
[06BEAC80]{dac105.bpl } Dbaccess.TCustomDAConnection.DoConnect + $98
[06BEAC9A]{dac105.bpl } Dbaccess.TCustomDAConnection.DoConnect + $B2
[06D195D4]{mydac105.bpl} Myaccess.TCustomMyConnection.DoConnect + $10
[06BEAF9B]{dac105.bpl } Dbaccess.TCustomDAConnection.PerformConnect + $37
[06B682B9]{dcldac105.bpl} Daconnectioneditor.TDAConnectionEditorForm.btConnectClick + $45
[06B682F4]{dcldac105.bpl} Daconnectioneditor.TDAConnectionEditorForm.btConnectClick + $80


I hope you can give some advice.

Best regards

Kim

Posted: Thu 06 Dec 2007 08:37
by Antaeus
There are many possible reasons for this error. Please describe in more details the case in what this error occurs.

Posted: Sun 09 Dec 2007 18:18
by ckwong
The forum have solution, please search.