Page 1 of 1

Problems with LoginPrompt = True

Posted: Fri 02 Sep 2005 17:30
by masonjd
I'm using Delphi 2005 with MySql Data Access Components version 3.55.0.23. These components are connecting to a MySql server version 4.1.13 running on the same machine.

I'm trying to get the TMyConnection to prompt me when I try to connect. However, I only get the login prompt at design time when I set the connection to connected. At runtime is just throws an error about how I'm trying to login without a username and password.

Any ideas why this is happening? Any help would be greatly appreciated.

Jared

Posted: Mon 05 Sep 2005 09:25
by Ikar
You must add to your uses list MyDacVcl (for Windows) or MyDacClx (for Linux) unit.