Subject | Re: [firebird-support] Networked database |
---|---|
Author | Stefan Gustavsson |
Post date | 2004-11-16T14:22:58Z |
Just a small tip use aliases when you are connecting to a database
that will make the deployement of your application much smoother, for
an example if you have to change the path to the database by some
reason then just edit aliases.conf and you are up and running again.
In you firebird installation directory create (if it doesnt exsits)
the file "aliases.conf"
C:\Program Files\Firebird\Firebird_1_5\aliases.conf
then just add an entry to it like this.
CSM = E:\Data\celsus_ms.fdb
when you are done, you can test your new alias with
C:\Program Files\Firebird_1_5\bin\isql 192.168.135.209:CSM -u sysdba
-p masterkey
that will make the deployement of your application much smoother, for
an example if you have to change the path to the database by some
reason then just edit aliases.conf and you are up and running again.
In you firebird installation directory create (if it doesnt exsits)
the file "aliases.conf"
C:\Program Files\Firebird\Firebird_1_5\aliases.conf
then just add an entry to it like this.
CSM = E:\Data\celsus_ms.fdb
when you are done, you can test your new alias with
C:\Program Files\Firebird_1_5\bin\isql 192.168.135.209:CSM -u sysdba
-p masterkey
On Tue, 16 Nov 2004 09:25:13 -0000, yuppski <yuppski@...> wrote:
>
>
> Hi All
>
> Im using Firebird 1.5 and have connected to a Networked database
> using an IP address but when I try to connect to the same Database
> using a Mapped Drive or the Computer name ie.
> Z:\Temp\TheDB.gdb or \\TheComputer\Temp\TheDB.gdb
> I get the following Message on the host machine:-
> "Missing Configuration File C:\Program Files\Firebird\Firebird_1_5
> \aliaes.cong"
>
> This file is present on both client and host machines.
> Now my understanding is that this file is used to convert an alias??
>
> Any ideas
>
> tia
> Andrew
>
>
>
> Yahoo! Groups Links
>
>
>
>
>