Subject | Re: [firebird-support] Is client connected to normal or embedded server? |
---|---|
Author | Paul Vinkenoog |
Post date | 2007-04-26T20:27:08Z |
mustbeemonty wrote:
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
> Is there is way for a client to check whether it is connected to theTry to connect to a database with a non-existing user name and
> normal server or the embedded version?
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