Page 1 of 1

Problems with embedded server

Posted: Wed 10 May 2006 08:08
by jostos
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

Posted: Thu 11 May 2006 09:18
by Antaeus
> 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.