Read about what is use of tnsnames ora file in oracle, The latest news, videos, and discussion topics about what is use of tnsnames ora file in oracle from alibabacloud.com
How to connect to the specified database using the tnsnames. ora file of the oracle database for the given server name, user name and password, for example: server name 192.168.0.20, user name and passwordAll are w_basketboy. The method to connect to the database is: Enable
Oracle local net service name configuration tnsnames. ora file has strict format requirements
Today, a service name is manually added to the configuration file. When a client is
default domain name is changyun.com, in tnsnames. if the corresponding resolution is configured in ora, if the original database alias is oralocal (that is, the network service name), after enabling this parameter, the configurat
Recently, after the database service of one machine is started, the client cannot connect. Restart the instance:
SQL> startupORA-00119: Invalid specification for system parameter local_listenerORA-00132: syntax error or unresolved network name 'listener _ ora92'
Close an instance:
SQL> shutdown immediateA ORA-01034: Oracle not availableORA-27101: Shared Mem
"local_dev" is converted to "local_dev.com". Therefore, if local_dev.com cannot be found in tnsnames. ora, an error is returned.Modify the definition in tnsnames. ora as follows:Local_dev.com =(Description =(Address = (Protocol =
tnsnames should be changed to oralocal.changbai.com. When you use tnsping or sqlplus to log on, you only need to write the preceding alias. The system will automatically add the following domain name for resolution. 2. tnsnames. oraThis file is stored on the client machine
Oracle Network ConfigurationThe listener. ora, sqlnet. ora, and tnsnames. ora configuration files are all stored in the $ ORACLE_HOME/network/admin directory.
English description:
The sqlnet. ora
) (CONNECT_DATA = (Server = dedicated) (SERVICE_NAME = ora10g) OK (10 msec) Oracle @ bo2dbp: ~> Sqlplus Scott/tiger @ ora10gsql> show parameter instance_namename type value ---------------------------------------- instance_name string ora10g1 use the same method as above to set local_listener on the second node. modify tnsnames first.
The listener. ora, sqlnet. ora, and tnsnames. ora configuration files are stored in the $ ORACLE_HOME \ network \ admin directory.1. sqlnet. ora ----- is similar to the nsswitch. conf file
Oracle: listener. ora, sqlnet. ora, tnsnames. ora configuration and example1. Solve the problem: TNS or the database cannot log on.The simplest and most effective method: use the tool netca provided by the
Local name configuration: The local name can access the required database or server information with a simple name, and the information is saved to tnsnames. ora.
LOCALNAME: local nameADDRESS: server ADDRESSPROTOCOL: PROTOCOL usedHOST: IP AddressPORT: listening PORTSERVICE_NAME: Database Service nameFirst, make sure that the format in the
Http://hi.baidu.com/yjdzh/blog/item/67e11162278ce6dae7113a80.html
Listener Configuration FileTo enable external processes such as the cams background program to access the Oracle databaseSet the Oracle network server environment to configure the Oracle network server environment through the configurationListener. ora
Sqlplus local connection is not a server
The error is as follows:
SQL> conn hailiang/hailiang @ DBNetSpiderERROR:ORA-12154: TNS: cocould not resolve the connect identifier specified
Solution: I forgot to configure the tnsnames. ora file locally...
In
During parameter configuration, you must first check the content in tnsnames. ora. If the tns string to be configured already exists in the file, direct the parameter to a tns string.
During parameter configuration, you must first check the content in tnsnames. ora. If the t
In the installation directory, such as: E:\Oracle\Ora81\network\ADMIN under the use of WordPad or Notepad to open the Tnsname.ora file, the contents of the file may be as follows:
TEST. softone.com =
(DESCRIPTION =
(Address_list =
(address = (PROTOCOL = TCP) (HOST = zcb_8115) (PORT = 1521))
)
(Connect_data =
(service_n
enter the "Net8 Configuration Assistant: network service name Configuration, network service name" window;10) in the "Net8 Configuration Assistant: network service name Configuration, network service name" window, enter the network service name, and the service name is an ORACLE connection string, which can be input at will, for example, test, click "Next" to bring up the following form;11) in the "Net8 Co
Configure tnsnames for the local oracle NET service name. oracle local NET service name configuration tnsnames. the ora file has strict format requirements. Today, a service name is man
In the installation directory, such as: E:oracleora81networkadmin under the use of WordPad or Notepad to open the Tnsname.ora file, the contents of the file may be as follows:TEST. softone.com =(DESCRIPTION =(Address_list =(address = (PROTOCOL = TCP) (HOST = zcb_8115) (PORT = 1521)))(Connect_data =(service_name = test)))The blue section
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.