Figure 17 shows a local-loopback connection. The name of the host computer is river.
The network connection in Figure 17 uses sockets and TCP/IP, so the correct entry for the sqlhosts file is as follows.
dbservername | nettype | hostname | servicename |
---|---|---|---|
river_soc | onsoctcp | river | riverol |
If the network connection uses TLI instead of sockets, only the nettype entry in this example changes. In that case, the nettype entry is ontlitcp instead of onsoctcp.
The ONCONFIG file includes the following line:
DBSERVERNAME river_soc
This example assumes that an entry for river is in the hosts file and an entry for riverol is in the services file.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]