Subject | Re: [firebird-support] Re: Alias |
---|---|
Author | Uwe Grauer |
Post date | 2005-09-29T09:13:41Z |
Adam wrote:
Uwe
>--- In firebird-support@yahoogroups.com, "Ari.Adrianto"You should restart FB after these changes.
><ari.adrianto@k...> wrote:
> > Hi All,
> > I've firebird 1.52 installed on Windows 2000 Server. The connection
>I've
> > made for client is using directory, for example :
>192.168.0.1:d:\db\acc.fdb
> >
> > I've heard that firebid can use Alias for this, so users won't know
>the real
> > directory server. I've tried but it doesn't work. Is there anyone
>who can
> > tell me how to use alias ?
> >
> >
> > Best Rgds,
> > Ari Adrianto
>
>Locate aliases.conf ($PROGRAMFILES\Firebird\Firebird_1_5
>\aliases.conf) and open in notepad
>
>Add the line
>
>ACC = d:\db\acc.fdb
>
>Save the file and close
>
>Change your connection string in your application from
>192.168.0.1:d:\db\acc.fdb to 192.168.0.1:ACC
>
>Firebird will automatically lookup the path from the aliases.conf
>when the connection is made.
>
>Adam
>
>
Uwe