Subject Re: [firebird-support] Is client connected to normal or embedded server?
Author Paul Vinkenoog
mustbeemonty wrote:

> Is there is way for a client to check whether it is connected to the
> normal server or the embedded version?

Try to connect to a database with a non-existing user name and
password. If it works, you're talking to an embedded server.

(Note: to do anything *useful* with the connection, you probably need
a valid user name and/or role, although you can use any password. But
as a test, the above works. BTW, the user process must have access
rights to the database FILE. This is not necessary - even undesired -
in a normal client-server setup.)


HTH,
Paul Vinkenoog