Toad - instance client

1. 安装toad (8.5), 安装instance client(10.2 32bit)
   http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

2. 解压instance client到C:\instantclient_10_2,并创建\network\admin\tnsnames.ora
   内容如下:
    ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.60.27)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

3. 配置环境变量

LD_LIBRARY_PATH=C:\instantclient_10_2
LOCAL=C:\instantclient_10_2
ORACLE_HOME=C:\instantclient_10_2
SQLPATH=C:\instantclient_10_2
TNS_ADMIN=C:\instantclient_10_2\network\admin
PATH加上C:\instantclient_10_2

注意Toad版本和instance client版本的兼容性

你可能感兴趣的:(oracle)