Oracle 11g 客户端配置

1 下载客户端 :win32_11gR2_client.zip

http://www.oracle.com

Oracle Technology Network  Database  Database 11g  Downloads

Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (32-bit) 

  Download win32_11gR2_client.zip (684,581,290 bytes) 

2 安装

安装时会检查安装环境....记得忽略.不然坑死你

 

3 配置TNS_ADMIN环境 变量

TNS_ADMIN

 

4  在配置的目录下建立tnsnames.ora

 

5 eidt tnsnames.ora配置TNS

ORCL_SCAN=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.1.199)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = orcl)
    )
  )


ORCL1=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.1.56)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = orcl1)
    )
  )


ORCL2=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.1.54)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = orcl2)
    )
  )

 

6...开始你的toad 或 PL/SQL Developer 之旅...

你可能感兴趣的:(oracle,client,11g)