Problems with embedded server

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jostos
Posts: 9
Joined: Tue 11 Apr 2006 04:29
Location: Mexico

Problems with embedded server

Post by jostos » Wed 10 May 2006 08:08

I have a TMyConection component On the main form.

On the Delphi IDE, I set connected = True and it connects OK. I then Disconnect it, and run the application. Within the application I call:

MyDb.Connect;

and the application terminates without any error messages.

If I have loginPromp=True, the dialog does not appear.
IF I have a an OnError event, it is not executed.

I am using Delphi 7, MyDac 4.30.0.11 and libmysqld.dll 4.1.16

Any sugestions??

Regards
Jay

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

Post by Antaeus » Thu 11 May 2006 09:18

> and the application terminates without any error messages.
Most possibly this is Embedded server issue. This may happen because of wrong connection settings.

> If I have loginPromp=True, the dialog does not appear.
You can solve this by including MyDACVCL unit to the uses clause.

> IF I have a an OnError event, it is not executed.
Try using MyEmbConnection.OnLogError too. If this won't help to eliminate this problem, then please make a simple application that shows this error and send it to us (evgeniyD*crlab*com). Also send us libmysqld.dll with settings file and data files. Try to reduce size of the data files to maximum possible extent.

Post Reply