Subject Re: [firebird-support] UNC path????
Author Helen Borrie
At 02:04 PM 1/10/2004 +0000, you wrote:
>Hi,
>
>Please,helpe-me.
>
>How to use UNC path for connect GDB database?
>
>Example:
>
>\\server\name-map-drive\database.gdb
>
>\\server-app\JFi\database.gdb

You don't. It is not valid to connect to a mapped drive.

With either Windows named pipes or TCP/IP, you must connect to the physical
host node that is running the Firebird server and to an absolute location
on that machine (no shares).

e.g. you have a host server node named tigerlily at IP address 10.20.30.1
and your database file is located on that machine's c-drive in a directory
named accounts\databases:

Named pipes:
\\tigerlily\c:\accounts\databases\database.fdb

TCP/ip:
tigerlily:c:\accounts\databases\database.fdb

You can (and should) use an alias. In aliases.conf, you would have
something like:
accountsdb = \c:\accounts\databases\database.fdb

With aliases:
Named pipes:
\\tigerlily\accountsdb

TCP/ip:
tigerlily:accountsdb

./heLen