Lost connection to MySQL server during query

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kini
Posts: 1
Joined: Wed 05 Dec 2007 18:34

Lost connection to MySQL server during query

Post by kini » Wed 05 Dec 2007 19:16

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

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 06 Dec 2007 08:37

There are many possible reasons for this error. Please describe in more details the case in what this error occurs.

ckwong
Posts: 11
Joined: Sun 02 Jan 2005 20:36

Post by ckwong » Sun 09 Dec 2007 18:18

The forum have solution, please search.

Post Reply