Subject | Re: Cannot find file aliases.conf |
---|---|
Author | Adam |
Post date | 2005-09-21T23:26:02Z |
A couple of words of advise (for original poster, not Si)
1. Rename the database file to NAC_NEW_IB6.FDB. Windows XP does stupid
things with .gdb files that will cause you a headache at some point in
time.
2. On the server, edit the aliases.conf in notepad. It is located in
c:\Program Files\Firebird\Firebird_1_5\aliases.conf unless you put it
somewhere else. Add the line
NAC_NEW_IB6=C:\Project Data\NAC New IB6\NAC_NEW_IB6.FDB
Save and close the file.
3. Change your client connection string to
[SERVER HOSTNAME]:NAC_NEW_IB6
That is it, the same connection string will work on both the server
and the client. If you ever want to move the database to a different
volume, it is a lot less headache.
Adam
--- In firebird-support@yahoogroups.com, "Simon Carter"
<simon.carter@t...> wrote:
1. Rename the database file to NAC_NEW_IB6.FDB. Windows XP does stupid
things with .gdb files that will cause you a headache at some point in
time.
2. On the server, edit the aliases.conf in notepad. It is located in
c:\Program Files\Firebird\Firebird_1_5\aliases.conf unless you put it
somewhere else. Add the line
NAC_NEW_IB6=C:\Project Data\NAC New IB6\NAC_NEW_IB6.FDB
Save and close the file.
3. Change your client connection string to
[SERVER HOSTNAME]:NAC_NEW_IB6
That is it, the same connection string will work on both the server
and the client. If you ever want to move the database to a different
volume, it is a lot less headache.
Adam
--- In firebird-support@yahoogroups.com, "Simon Carter"
<simon.carter@t...> wrote:
>
>
> > -----Original Message-----
> > Database=C:\Project Data\NAC New IB6\NAC_NEW_IB6.gdb
>
> Shouldn't this be something like:
>
> Servername:Database=C:\Project Data\NAC New IB6\NAC_NEW_IB6.gdb
>
> Rgds
>
> Si Carter
> http://www.fbtalk.net/
> http://www.tectsoft.net/