Figure 10 shows a shared-memory connection on the computer named river.
The ONCONFIG configuration file for this installation includes the following line:
DBSERVERNAME river_shm
The table below shows a sample entry in the sqlhosts file or SQLHOSTS registry key for the connection shown above in Figure 10.
dbservername | nettype | hostname | servicename |
---|---|---|---|
river_shm | onipcshm | river | rivershm |
The client application connects to this database server using the following statement:
CONNECT TO '@river_shm'
Because this is a shared-memory connection, no entries in network configuration files are required. For a shared-memory connection, you can choose arbitrary values for the hostname and servicename fields of the sqlhosts file or SQLHOSTS registry key.
For more information about shared-memory connections, see How a Client Attaches to the Communications Portion (UNIX).
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]