Skip to content

Add EMBEDDED connection option that will accept only embedded connection to the DB #7787

@TommiPrami

Description

@TommiPrami

like
EMBEDDED:C:\Data\MyDatabase.fdb

We have had issues when we try to connect to the DB with embedded, we get error of XNET. There seems to be situations when engine chooses to use XNET if no server given.

I do not have reproducible case, but this has happened few times over a year or so, and that's why had to add unique IPC-names to the Firebird.conf to prevent this to happen (If I recall). If I remember it was due the we had 2.5 server running on the machine and tried to connect with 4.0.x embedded instead. (or something on those lines)

Having way to force embedded connection and if there is no sufficient Embedded libraries present, I would get error: "EMBEDDED connection is not possible, because someone forgot to give me enough libraries" (or something similar)

I think this would make connecting to the Firebird a bit more deterministic, and in this case I would be sure that XNET connection would never happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions