zoukankan      html  css  js  c++  java
  • 【Vegas原创】ORA12505问题解决方法

    现象:client进行sqlplus连接时,报此错误,并提示tnsname无法连接。

    解决方案:更改listener.ora文件

    原来的文件:

     
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
          (PROGRAM = extproc)
        )
      )
     
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = dtberp)(PORT = 1521))
          )
        )
      )

    更改后:

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
          (PROGRAM = extproc)
        )
          (SID_DESC =
          (SID_NAME = dtberp)
          (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
          (GLOBAL_DBNAME = dtberp)
        )
      )
     
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = dtberp)(PORT = 1521))
          )
        )
      )
  • 相关阅读:
    jieba库的使用和词云
    类和正则表达
    数据库实践
    自己的第一个网页
    第一个爬虫和测试
    Linux 知识总结
    Python argparse模块基本用法
    Python面向对象编程
    linux Nginx发布基于PHP的WEB
    Linux nginx发布基于python的WEB环境
  • 原文地址:https://www.cnblogs.com/amadeuslee/p/3744269.html
Copyright © 2011-2022 走看看