Subject | Re: When do changes to Aliases.conf get picked up |
---|---|
Author | gastrocus |
Post date | 2011-06-23T00:08:48Z |
Interesting.
So if there are existing database connections to a database (using a connection string with an alias defined in aliases.conf), then this file is edited to change the db that the aliases refer to, then saved.
I assume that Firebird will open the new database for any new connections... but how does Firebird handle the pre-existing connections?
Thanks
Ed
So if there are existing database connections to a database (using a connection string with an alias defined in aliases.conf), then this file is edited to change the db that the aliases refer to, then saved.
I assume that Firebird will open the new database for any new connections... but how does Firebird handle the pre-existing connections?
Thanks
Ed
--- In firebird-support@yahoogroups.com, Alan J Davies <Alan.Davies@...> wrote:
>
> No, changes are seen as soon as aliases.conf is saved.
> Note that in Windows7 you need to change security settings to enable the
> user to save it - unless you do that as administrator.
>
> Alan J Davies
> Aldis
>
>
> On 22/06/2011 23:39, gastrocus wrote:
> > I was recently reading a document on backup/restore of Firebird
> > (http://www.firebirdsql.org/pdfmanual/Firebird-gbak.pdf) and there was a
> > paragraph on restoring where it made a recommendation:
> >
> > "For security, always recreate the database with a new name - a clone -
> > and update the aliases.conf to reflect the new name."
> >
> > Reading this phrased this way, made me question, when does the Firebird
> > Server (V2.5 ) recognize and pick up changes to the Aliases.conf file?
> >
> > My guess would be that I would need to stop and restart the server to do
> > so. Is that correct?
> >