Subject | SV: [firebird-support] Path to aliases.conf? |
---|---|
Author | Jacob Havkrog |
Post date | 2013-03-20T08:01Z |
Hi
|>>Where does gstat (gbak, gfix) look for the aliases.conf file?
|
|A client application doesn't need to know where aliases.conf is. It is a component of the server, not of a client.
|The purpose of database aliasing is to make the location of the database transparent to client applications.
Sorry for not being clear. I'm talking about an embedded setup. I want to call the tools gbak/gstat/gfix from my embedded client, eg. to perform backup.
It works fine when the aliases.conf file is situated in the same directory as my application and the tools in a subdirectory from here.
The reason I ask is that I realized, that on my development machine another aliases.conf file was consulted than I thought, namely that in the Firebird server installation directory, and not the one in the directory where my embedded client was running from.
Thanks
Jacob
|>>Where does gstat (gbak, gfix) look for the aliases.conf file?
|
|A client application doesn't need to know where aliases.conf is. It is a component of the server, not of a client.
|The purpose of database aliasing is to make the location of the database transparent to client applications.
Sorry for not being clear. I'm talking about an embedded setup. I want to call the tools gbak/gstat/gfix from my embedded client, eg. to perform backup.
It works fine when the aliases.conf file is situated in the same directory as my application and the tools in a subdirectory from here.
The reason I ask is that I realized, that on my development machine another aliases.conf file was consulted than I thought, namely that in the Firebird server installation directory, and not the one in the directory where my embedded client was running from.
Thanks
Jacob