先从Oracle网站下载Oracle Instant Client压缩包,如果Toad依赖的是32位的,请下载32位版本。

https://www.oracle.com/cn/database/technologies/winsoft/instant-client-download.html

完成后解压到你的目录,开始配置用户环境

变量名:ORACLE_HOME 
变量值:C:\Users\jilili\Desktop\Apps\instantclient_11_2

变量名:TNS_ADMIN 
变量值:C:\Users\jilili\Desktop\Apps\instantclient_11_2\network\admin

变量名:NLS_LANG 
变量值:SIMPLIFIED CHINESE_CHINA.ZHS16GBK 

修改PATH变量,在后面添加 C:\Users\jilili\Desktop\Apps\instantclient_11_2

在Oracle Instant Client目录建立tnsname.ora文件

orcl = 
      (DESCRIPTION = 
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.111)(PORT = 1521)) 
        (CONNECT_DATA = 
          (SERVER = DEDICATED) 
          (SERVICE_NAME = orcl) 
        ) 
      )

完成后打开Toad,就可以进行了。

[ 编辑 | 历史 ]
最近由“jilili”在“2021-10-16 12:45:38”修改