标签:des style http io color os sp 文件 on
一、
1)下载Oracle客户端:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
2)下载plsql:
注意:安装plsql如果是32位的对应的instantclient就下32位的,plsql如果64位的对应的instantclient就下64位的(总之两个版本要一致)
二、配置环境变量:
1)path = C:\instantclient
2)NLS_lANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK
3)TNS_ADMIN = C:\instantclient\NETWORK\ADMIN
三、在C:\instantclient下添加文件夹\NETWORK\ADMIN,最后文件目录如下C:\instantclient\NETWORK\ADMIN
其中ADMIN文件夹用来存放tnsnames.ora,或者不创建,将tnsnames.ora放在客户端根目录下,效果一样
tnsnames.ora内容可参考:
ORCL=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
)
)
标签:des style http io color os sp 文件 on
原文地址:http://www.cnblogs.com/q18240364/p/4061893.html