Problems with LoginPrompt = True

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
masonjd
Posts: 1
Joined: Fri 02 Sep 2005 17:22

Problems with LoginPrompt = True

Post by masonjd » Fri 02 Sep 2005 17:30

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

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 05 Sep 2005 09:25

You must add to your uses list MyDacVcl (for Windows) or MyDacClx (for Linux) unit.

Post Reply