Subject | RE: [firebird-support] Connect via TCP and shared file parallel |
---|---|
Author | Leyne, Sean |
Post date | 2015-03-23T20:58:44Z |
> The share Z:\mysharedfolder\mydb.fdb is a folder on fileserver with theThe database path must use server-side local drive/path references, not shared folder paths.
> Firebird Server itself on it. Accessing the database via myhost:mydb points to
> the same file as Z:\mysharedfolder\mydb.fdb.
So, if workstation path "Z:\mysharedfolder\" is actually "D:\FirebirdDatabase\mysharedfolder" on the server, then the database connection from the workstation must be "{ServerName}:D:\FirebirdDatabase\mysharedfolder\mydb.fdb"
If you don't want the workstations to know the physical path on the server of the database, then you should be the DB Alias feature of the alias.conf file and define "MYDB = D:\FirebirdDatabase\mysharedfolder\mydb.fdb" in which case the workstation connection would be "{ServerName}:mydb"
Sean