TOAD9.5连接ORACLE 11g问题

TOAD安装完后,启动TOAD提示监听程序当前无法识别连接描述符中请求的服务,首先确定一下ORACLE服务是否启动,如果启动了,那再看看D:\app\Administrator\product\11.1.0\db_1\NETWORK\ADMIN路径下listener.ora文件,打开该文件,在里面添加下面内容
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\app\Administrator\product\11.1.0\db_1)
      (PROGRAM = extproc)
    )
     (SID_DESC =
      (GLOBAL_DBNAME = orcl)
      (ORACLE_HOME = D:\app\Administrator\product\11.1.0\db_1)
      (SID_NAME = orcl)
    )

  )
添加后listener.ora内容变为了
# listener.ora Network Configuration File: d:\app\Administrator\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\app\Administrator\product\11.1.0\db_1)
      (PROGRAM = extproc)
    )
     (SID_DESC =
      (GLOBAL_DBNAME = orcl)
      (ORACLE_HOME = D:\app\Administrator\product\11.1.0\db_1)
      (SID_NAME = orcl)
    )

  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
  )

再重新启动ORACLE就没问题了,TOAD是9.5的,9.1不支持ORACLE11G

你可能感兴趣的:(oracle)