PL-SQL Developer如何连接64位的Oracle(转)

  • 下载Oracle客户端
  • 配置Oracle客户端

下载之后将其解压,然后在instantclient_11_2目录下新建两层文件夹\NETWORK\ADMIN,再在ADMIN文件夹下面建一个tnsnames.ora文件,然后向文件中添加如下内容:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLE)
)
)

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

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

以上的内容可进行拷贝:dbhome_1\network\admin\tnsnames.ora。

  • 安装PL/SQL Developer
  • PL/SQL Developer的配置

安装完成之后,运行PL/SQL Developer,此时出现的登录窗体不能进行登录,点击Calcel按钮,这时会在无登录状态下进入。
配置相应信息,把之前的解压包信息配置上

  • 重新启动PL/SQL Developer进行登录。