Subject Re: [ib-support] Database path on server - is it required?
Author Frank Ingermann
Hi David,

tickerboo2002 wrote:
> Is there any way round requiring the clients to know the path of the
> database on the server?
>
> At the moment, all my clients have to specify the server name and
> also f:\databases\mydb.gdb.
>
> Is it possible just to give the database name without knowing the
> path information? If so, is the answer to just put the database in
> the bin dir?
>
> Thanks
>
> David

no, it's not possible with Fb 1.0. you must specify both server and local path.

there are some third-party tools that help you get around this
(like Upscene Alias Resolver, see http://www.upscene.com/ )

In Firebird 1.5 it will be possible to specify "server-side aliases" in a file
aliases.conf, where you can put entries like "mydb=f:\databases\mydb.gdb". This
allows you to connect from the client with "myserver:mydb" and the engine will
look up the actual path from the .conf file.
(but note Fb1.5 is not finished and not yet ready for production!)

regards,
fingerman
--
-------------------------------------------------------------------------
when parsers parse, and compilers compile, then why don't objects object?

fingerbirdy - fingerman's door to Firebird
http://www.fingerbird.de