Subject | Re: [firebird-support] How to use Aliases? |
---|---|
Author | Helen Borrie |
Post date | 2003-07-22T01:29:15Z |
At 10:19 AM 22/07/2003 +1000, you wrote:
1. Open aliases.conf and make entries like:
db1 = c:\data\MyBelovedDb.fdb
db2 = /opt/databases/penguindb.fdb
... and so on.
In your connection string, replace the path element of the string with the
alias name, e.g.
regular connection strings:
winserver:c:\data\MyBelovedDb.fdb
linserver:/opt/databases/penguindb.fdb
become
winserver:db1
linserver:db2
You need to restart the server to have the aliases take effect.
heLen
>Hi,It's briefly documented in WhatsNew.txt. That's about all there is to it.
>
>Is there some documentation on how to set up and connect to databases using
>Firebird Aliases?
1. Open aliases.conf and make entries like:
db1 = c:\data\MyBelovedDb.fdb
db2 = /opt/databases/penguindb.fdb
... and so on.
In your connection string, replace the path element of the string with the
alias name, e.g.
regular connection strings:
winserver:c:\data\MyBelovedDb.fdb
linserver:/opt/databases/penguindb.fdb
become
winserver:db1
linserver:db2
You need to restart the server to have the aliases take effect.
heLen