No "local" protocol?

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

No "local" protocol?

Post by upscene » Thu 26 Nov 2009 09:48

Any reason why neither IBDac or UniDac support the "local" connection option?

(without a server name)

Note that "localhost" is a valid server name and a connection can use the network for that.

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Post by upscene » Thu 26 Nov 2009 11:48

Never mind, I just read this in the Help:
Note: You can set connection parameters not only by Database property. You can use Server property to set server name and Options property to set connection protocol. If Database property contains local filename and server property is empty, it will be a local connection. If Server property is not empty, Server and Options properties will be used for the connection.

Realtime
Posts: 6
Joined: Thu 19 Mar 2009 15:21

Post by Realtime » Mon 30 Nov 2009 10:51

I read the note too and tried to connect local with and without a server string, but the flag Connection->DatabaseInfo->IsRemoteConnect is always true!?
Is the flag wrong or I am connected always via TCP?

I use FB 2.1.3 and IBDAC 3.10.0.7

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 03 Dec 2009 11:42

IBDAC uses local connection when the Server property is empty. Maybe the client library returns incorrect value for this flag.

Post Reply