码迷,mamicode.com
首页 > 数据库 > 详细

PL/SQL Developer连接远程Oracle数据库

时间:2014-12-22 15:49:25      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

转自:http://zhengdu.net/archives/152

一、首先看远程端oracle服务是否启动

技术分享

如果没有启动,请启动oracle服务

ps:创建或者删除oracle监听

技术分享

二、远程端oracle配置

 

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = orcl)
      (PRESENTATION = RO)
    )
  )

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

 

三、本地PL/SQL Developer配置

 

SERVER10 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

 

现在就可以用PL/SQL Developer连接远程Oracle数据库了。

PL/SQL Developer连接远程Oracle数据库

标签:

原文地址:http://www.cnblogs.com/haifg/p/4178139.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!