1. 下載instantclient-basic-win32-11.2.0.1.0
Oracle Instant Client - Free tools and libraries for connecting to Oracle Database
(oracle官網下載地址:http://www.oracle.com/technetwork/topics/winsoft-085727.html ,?下載地址2:http://download.csdn.net/detail/czw2010/5732241)
???2. 解壓instantclient-basic-win32-11.2.0.1.0并放置在oracle安裝目錄的product下(放置位置無強制要求,可隨意放置),如下圖:
??3. 拷貝D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN下的tnsnames.ora文件到instantclient_11_2下。
?4. 打開PLSQL Developer,選擇Tools ->?perference -> Connection,配置其中的Oracle Home和OCI Library項,如下圖所示:
其中, Oracle Home:D:\app\Administrator\product\instantclient_11_2
OCI Library:D:\app\Administrator\product\instantclient_11_2\oci.dll
? ? ? ?? 5. ?配置系統(tǒng)環(huán)境變量文章來源:http://www.zghlxwxcb.cn/news/detail-469348.html
? ? ? ? ? ? 右擊"我的電腦" - "屬性" - "高級" - "環(huán)境變量" - "系統(tǒng)環(huán)境變量":
? ? ? ? ? ? 1>.選擇"Path" - 點擊"編輯", 把 "D:\app\Administrator\product\instantclient_11_2;" 加入;
? ? ? ? ? ? 2>.點擊"新建", 變量名設置為"TNS_ADMIN", 變量值設置為"D:\app\Administrator\product\instantclient_11_2;", 點擊"確定";
? ? ? ? ? ? 3>.點擊"新建", 變量名設置為"NLS_LANG", 變量值設置為"SIMPLIFIED CHINESE_CHINA.ZHS16GBK", 點擊"確定";文章來源地址http://www.zghlxwxcb.cn/news/detail-469348.html
到了這里,關于PLSQL連接Oracle 數(shù)據庫配置詳解的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!