Subject Re: [IBO] Re: TIBODatabase Paths & Aliases?
Author Helen Borrie
At 06:24 PM 22/09/2006, you wrote:

> > Don't worry about it. It only writes that if it encounters a Nil
> > entry in Database. Make it a point always to use Path, Server and
> > Protocol and avoid the traditional VCL hard-wiring of the whole
> > Database string or use of Params.
> >
> > You can use the Database property for some developer-friendly name if
> > you want, doesn't need to resemble the database name in any way.
> >
> > Helen
> >
>It doesn't seem to work for me. Rather like "whack-a-mole". Wherever I
>enter the alias, the path pops up somewhere else, even if I enter a
>spurious name.
>eg: (all references below are to the TIBODatabase)
>1. If I enter my alias in the path property, it also shows up in
>databasename. But in the dbeditor the file path is shown. If I now try
>to deploy this on another computer, the error message indicates
> that it is still looking for my original path, not the alias.
>2. The dbeditor refuses all attempts to change the path in its
>database field. Does this mean I have to use the "search" and "find"
>functions to get it to accept a setting?

Something is fishy. What versions of everything are you using?

>What is the exact syntax for a connection on the same computer?
>localhost: ???

localhost would be the Server property, provided you set cpTCP_IP as
the protocol. If you set Protocol to cpLocal, the Server property is
ignored. The Path property can be a path or an alias. That path
(whether it is in aliases.conf or is coded directly into Path) of
course must be a path that is local to the server and on a partition
that is controlled by the host machine that is running
Firebird. What it cannot be is any sort of share or drive mapping.