Subject Re: [firebird-support] Re: Connect to a Database on given IP address
Author Helen Borrie
At 10:48 AM 1/04/2004 +0530, you wrote:
>Hi Helen
>
>Thanks a lot for your help. I will be connecting this from a Windows 2000
>machine via Internet to a Win98 machine with a known IP address.
>
>So it guess the following applies:
>
> >nnn.nnn.nnn.nnn:drive_letter:\path\to\MyDatabase.fdb
>
>Where can I specify the DBAlias?

In aliases.conf. Read the release notes.


> >theserver.com:YourDbAlias (recommended!!!!)
>
>Can I use it like this?
>
> >nnn.nnn.nnn.nnn:YourDbAlias

Yes. It has the added benefit (if you are using TCP/IP) of letting you
"soft-code" the "path" element of the connection path in your
application. In deployment, it's a simple matter to set up aliases.conf so
that YourDbAlias points to the right place.

/heLen