Local Naming Overview

Local naming is one of the primary naming methods used to resolve a simple name, a net service name, to a connect descriptor that the client uses to connect to a database or service. Local naming stores net service names and their connect descriptors in a local tnsnames.ora file.

An end user enters a connect string that includes the net service name in the following format:

    CONNECT username/password@net_service_name

In the following example sales is the net service name that is looked up in the tnsnames.ora file:

    CONNECT scott/tiger@sales

The connect descriptor returned to the client includes the:

- Protocol address location of the listener

- Service name of the database

The client uses this information to connect to a listener. The listener, configured with the same address information, receives the request. If the listener is listening for requests to the same database service as specified in the client's connect descriptor, a connection is granted.

| See Also: Chapter 2, Net8 Concepts, in the Net8 Administrator's Guide