Subject Re: [firebird-support] Two instances of the same app on the same DB on the same PC with embedded version: is it possible?
Author Woody (TMW)
>
> Hello,
>
> I was wondering if it was possible to have 2 instances of the
> same app running on the same computer and that use the same DB.
>
> This question is just a curiosity coming out from a discussion on a
> newsgroup regarding the use of firebird embedded on a Windows
> hosting via CGI and firebird embedded.
>
> From a DLL standpoint, a CGI is nothing different from another
> client, thus I was wondering if there may be problems in its use and,
> being so, which ones they might be.
>
> All this starts from the( wrong? ) assumption that you can
> start 2 instances of the same app pointing to the same db on the
> same computer.
>
> Any help?

You can do this using the "regular" FB server, but you can't do it using the
embedded server version. The embedded version only allows one connection to
the database at any given time so you can't have 2 instances of the same, or
any other, program running that needs to access the same DB.

Woody (TMW)