Subject | RE: [firebird-support] Re: UNC to Interbase/Firebird requirement |
---|---|
Author | Alan McDonald |
Post date | 2003-08-23T21:37:42Z |
Yes - that's how IBExpert works if you select this option - it also stores
full history lists of sql statements etc for each connection in an fb
database
Alan
full history lists of sql statements etc for each connection in an fb
database
Alan
> -----Original Message-----
> From: mk_delphi [mailto:mk_delphi@...]
> Sent: Sunday, 24 August 2003 12:21 AM
> To: firebird-support@yahoogroups.com
> Subject: [firebird-support] Re: UNC to Interbase/Firebird requirement
>
>
> An easy workaround is to create a database on a server,
> I call him alias.fdb in a well know position,(with two column,
> one for an alias and one for the phisical location of the database)
> than read from this database before opening data db in your client.
>
> > Salvatore
>
> Marco Kregar
> marco.kregar@...
> www.firebirdsql.it
>
>
> -- In firebird-support@yahoogroups.com, "Salvatore Besso"
> <s.besso@m...> wrote:
> > hello,
> >
> > porting a thread from another forum where we were discussing how to
> > resolve UNC paths into installers in peer to peer installations.
> >
> > I was asking how can the installer of the client part of the
> > installation know the location of the database on the server
> (mmmh...,
> > it's only a peer to peer network, not a real client/server).
> >
> > Supposing that the database path on MACHINE_A is:
> >
> > MACHINE_A:C:\MyCompany\MyApp\Database\Database.fdb
> >
> > and that the server part, including Firebird, is already installed
> up
> > and running, how can the client installer on MACHINE_B know of this
> > path during setup?
> >
> > Now taking some quotes from Alan's reply:
> >
> > > the database should be on only one machine.. please!
> > > The FBServer should be on only one machine.. please!
> >
> > of course :-)
> >
> > > All machines (including the one which has FBServer
> > > installed) will point to this one machine...
> >
> > [snip]
> >
> > > Oh and the installer does not need to detect anything
> > > here... the FBServer will resolve this path relative
> > > to it's position.
> >
> > This is the obscure part :-) Ok, for the server installation there
> is
> > no problem, since I know where I'm installing the database, but for
> > the client application? Should I use some Firebird API into the
> client
> > app to retrieve the location of the database, or is it the installer
> > to resolve the location and put it into some registry location in
> the
> > client machine so that the client app can retrieve it when launched?
> >
> > Regards
> > Salvatore
>
>
>
> To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>