pl/sql developer安装使用即时客户端
背景:由于Oracle的安装比较麻烦,大部分人都使用远程Oracle,而Oracle Instantclient Basic package可以解决安装问题。
在Oralce官方网站Oracle Instantclient Basic package下载:
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
安装步骤
step1:下载PLSQL Developer,并完成安装。
step2: 解压Instantclient,选择一个本地路径解压,并在该路径下新建文件tnsnames.ora
F:\Program Files\PLSQL Developer\instantclient
F:\Program Files\PLSQL Developer\instantclient\tnsnames.ora
step3:在tnsnames.ora文件写入:红色可以根据实际修改
WORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IP地址)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
step4:打开PLSQL Developer,点击cancel,选择Tools->Preferences
F:\Program Files\PLSQL Developer\instantclient
F:\program files\plsql developer\instantclient\oci.dll
step5:关闭后重新打开