1. 程式人生 > >PLSQL連接oracle

PLSQL連接oracle

地址 library rip script net service min 方便 lis

1、下載免安裝的客戶端,解壓到E:\soft\instantclient_11_2,解壓後修改E:\soft\instantclient_11_2\network\admin目錄下的tnsnames.ora文件

數據庫名=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IP地址)(PORT = 端口))
)
(CONNECT_DATA =
(SERVICE_NAME = servicem)
)
)

2、進入plsql,點擊tools=>preferences  

oracle home:E:\soft\instantclient_11_2

oci library:E:\soft\instantclient_11_2\oci.dll

3、從新進入plsql即可登錄

----------------------------------------------------------------------------------------------------------------

記錄下自己的安裝過程,以便於後期自己再次安裝方便

--------------------------------------------------------------------------------------------------------------

PLSQL連接oracle