一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

Linux下修改Oracle监听地址的方法

时间:2022-06-30 16:02:27 编辑:袖梨 来源:一聚教程网

lisenter.ora 目录在

/opt/oracle/11g/network/admin

LISTENER =
 (DESCRIPTION_LIST =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
   (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.111.123)(PORT = 1521))
  )
 )

ADR_BASE_LISTENER = /opt/oracle
tnsnames.ora

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

热门栏目