Home >Database >Mysql Tutorial >Oracle 11g ORA

Oracle 11g ORA

WBOY
WBOYOriginal
2016-06-07 15:30:451061browse

在win7 64bit上装 Oracle11g第2版-11.2.0.1.0-win32,oralce成功安装,但在连plsql老是报: ORA-12514 TNS:监听程序当前无法识别连接描述符中请求的服务 解决过程: 1. 找到listener.ora监听文件,具体位置:D:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMI

 在win7 64bit上装 Oracle11g第2版-11.2.0.1.0-win32,oralce成功安装,但在连plsql老是报:ORA-12514 TNS:监听程序当前无法识别连接描述符中请求的服务

解决过程:

1. 找到listener.ora监听文件,具体位置:D:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora

2. 在lisener.ora文件中找到

 (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )


    将下面的一段内容copy进去,并适当修改。(红字部分为你的SID,其中GLOBAL_DBNAME为全局数据库名,可以与SID不同)

(SID_DESC =
      (GLOBAL_DBNAME = orcl)
      (ORACLE_HOME =D:\oracle\product\11.2.0\dbhome_1 )
      (SID_NAME = orcl)
    )

3. 保存listener.ora文件,关闭并重新启动监听程序,问题解决!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn