oracle安装后tnsnames.ora内容

Posted 习惯沉淀

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle安装后tnsnames.ora内容相关的知识,希望对你有一定的参考价值。

# tnsnames.ora Network Configuration File: D:\Develop\oracle11g\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

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

 

以上是关于oracle安装后tnsnames.ora内容的主要内容,如果未能解决你的问题,请参考以下文章

oracle安装客户端后提示没有监听ORA

安装好oracle11gR2之后在相应路径下却没有生成tnsnames.ora和listener.ora

oracle添加单边服务名

oracle客户端tnsnames.ora在哪个目录

ORACLE配置,修改tnsnames.ora文件实例

关于tnsnames.ora 到底是配Oracle安装目录下的 还是instantclient_11_2下的?