Kbase 15125: How to connect 2 databases that have same name
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
How to connect 2 databases that have same name
Can I connect 2 dbs that have the same name, yet reside in different
directories? Yes
The process for connecting two dbs with the same name, yet reside in
different directories is to make use of a server/client startup
option called -ld.
-ld is used to assign a logical name to a database. More detail on
this option is documented in the System Administration Guide, as well
as the Programming Handbook.
The process to connect to dbs with the same name in different
directories is to start the server for each db with the -ld option
and specify 2 different logical dbnames.
Example: /test1/db1 (first db)
/test2/db1 (second db)
1. proserve /test1/db1 -ld a
2. proserve /test2/db1 -ld b
3. From a client session you can then either connect via the command
line, 4gl code, dictionary or autoconnect list. Please see System
Administration Guide for method you are interested in using. The
following principle should work when applied to any of these
connection methods.
4. Command line connection at startup:
mpro /test1/db1 -ld a -db /test2/db1 -ld b
You will now have both dbs connected.
Progress Software Technical Support Note # 15125