I developed an application using Delphi and Firebird 1.5, where the server is on the same computer as the application. Now I am deploying the application to another site where the Firebird server (Superserver) runs on one machine (NT4) while the client is running on another machine.
An application can connect to the database if I include the appropriate path ( t:\db\cinema.gdb) in it, but, of course, I would prefer to use an alias so that the same code works on my development machine (with a local server).
So, two questions:
- Where should the aliases.conf file exist - on each machine with the application or on the server?
- What should be an alias?
cinema = t:\db\cinema.gdbif we assume that the database is located on the mapped drive t? cinema = 192.168.2.121:f:firebird\db\cinema.gdbusing the server IP address and database path when the server sees it?
source
share