Oracle LAN connection Database

Source: Internet
Author: User


Oracle LAN connected to the database today is connected to the local area database, the problem can be said to be a variety of problems, so I want to share with you here, I am the first time to use the oracle database, so it is relatively unfamiliar, the installation process is default, so if you do not know how to use the database, you can configure the lan. In fact, the simplest way is to use tnsnames. modify the ora file, sqlnet. ora does not need to be modified. I have tried to ask a question, and I have also looked for many people's practices. We all copied a piece of tnsnames. paste the items in ora and modify them. However, I do not know how to copy them. I would like to give them to future generations. Www.2cto.com ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl ))) modify the HOST and use localhost on the local machine. The LAN is the server's ipSERVICE_NAME, which is the database name (the database name on the server). ORCL = this header can be customized at will, when logging on, pay attention to the Selection. (I hope you will back up the configuration in advance when you are not familiar with the configuration. If this happens, you can change the file to the original format when an error occurs) if ORA--12514 error occurs, remember in listener. modify the settings under ora. My modified configuration is as follows (Note: I am from oracle 11g) www.2cto.com listener. ora Location C: \ oracle \ product \ 10.2.0 \ db_1 \ NETWORK \ ADMIN # listener. ora Network Configuration File: D: \ orcl \ product \ 11.2.0 \ dbhome_1 \ network \ admin \ listener. ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = listener) (ORACLE_HOME = D: \ orcl \ product \ 11.2.0 \ dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS = ONLY: d: \ orcl \ product \ 11.2.0 \ dbhome_1 \ bin \ oraclr11.dll ") (SID_DESC = (SID_NAME = ORCL) (ORACLE_HOME = D: \ orcl \ product \ 11.2.0 \ dbhome_1) (PROGRAM = ORCL) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521) (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521) ADR_BASE_LISTENER = D: \ orcl

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.