Home > Database > Mysql Tutorial > oracl出现"ORA

oracl出现"ORA

WBOY
Release: 2016-06-07 15:27:17
Original
1196 people have browsed it

1.找到\oracle\product\10.2.0\db_1\NETWORK\ADMIN目录下的listener.ora和tnsnames.ora文件。 2.完整的计算机名称:PC. 域:asiapacific.cpqcorp.net listener.ora # listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin

1.找到\oracle\product\10.2.0\db_1\NETWORK\ADMIN目录下的listener.ora和tnsnames.ora文件。

2.完整的计算机名称:PC.
域:asiapacific.cpqcorp.net


listener.ora
# listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin\listener.ora
# Generated by Oracle configuration tools.


SID_LIST_LISTENER =
  (SID_LIST =
  (SID_DESC =
  (SID_NAME = PLSExtProc)
  (ORACLE_HOME = F:\oracle\product\10.2.0\db_2)
  (PROGRAM = extproc)
  )
  )


LISTENER =
  (DESCRIPTION_LIST =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST =PC.)(PORT = 1521))
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
  )
  )


tnsnames.ora
# tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.


ORCL =
  (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST =PC.)(PORT = 1521))
  (CONNECT_DATA =
  (SERVER = DEDICATED)
  (SERVICE_NAME = orcl)
  )
  )


EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
  (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
  )
  (CONNECT_DATA =
  (SID = PLSExtProc)
  (PRESENTATION = RO)
  )
  )

3.cmd命令:lsnrctl start


oracl出现"ORA

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template