pl/sql developer等客户端本地连接Oracle数据库

准备:

下载Oracle client

http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

instantclient-basic-nt-12.1.0.1.0.zip

工具 pl/sql developer

解压到C:\instantclient_12_1

新建系统的环境变量

path:;C:\instantclient_12_1

TNS_ADMIN:C:\instantclient_12_1

NLS_LANG:AMERICAN_AMERICA.ZHS16GBK

新建连接文件:

tnsnames.ora

 
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora90\network\admin\tnsnames.ora
 
# Generated by Oracle configuration tools.
 
#sample
 
ORCL_100 =
 
  (DESCRIPTION =
 
    (ADDRESS_LIST =
 
      (ADDRESS = (PROTOCOL = TCP)(HOST = 168.168.3.62)(PORT = 1521))
 
    )
 
    (CONNECT_DATA =
 
      (SERVICE_NAME = pmsdev)
 
    )
 
  )

猜你喜欢

转载自hztjie.iteye.com/blog/2056198