当前位置:数据库 > Oracle >>

Oracle数据库备份导出时,报错:ORA-12514解决

Oracle数据库备份导出时,报错:ORA-12514解决
 
连接Oracle 10g错误:ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求
 
解决方法:
1. 打开<OracleHome>/network/admin/listener.ora文件,找到:
   SID_LIST_LISTENER =
   (SID_LIST =
     (SID_DESC =
       (SID_NAME = PLSExtProc)
       (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
       (PROGRAM = extproc)
     )
   )
  2. 添加:
            (SID_DESC =
       (GLOBAL_DBNAME = ORACLE)
       (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
       (SID_NAME = ORACLE)
      )
  3. 最后变成:
SID_LIST_LISTENER =
   (SID_LIST =
     (SID_DESC =
       (SID_NAME = PLSExtProc)
       (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
       (PROGRAM = extproc)
     )
     (SID_DESC =
       (GLOBAL_DBNAME = ORACLE)
       (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
       (SID_NAME = ORACLE)
      )
   )

 

 
注意:不能添加(PROGRAM = extproc)
 
 
  4. 保存文件,重启服务中的TNSListener,OK!
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,