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))
          )
        )
      )
  • 相关阅读:
    lintcode 中等题:Evaluate Reverse Polish notation逆波兰表达式求值
    lintcode 中等题:unique Binary Search Tree 不同的二叉查找树
    lintcode 中等题:Submatrix sum is 0 和为零的子矩阵
    lintcode:递归打印数字
    lintcode :Segmemt Tree Build II
    lintcode 中等题:find the missing number 寻找缺失的数
    lintcode 中等题: Implement Trie
    lintcode 中等题:Letter Combinations of a Phone Number 电话号码的字母组合
    lintcode 中等题:Palindrome Linked List 回文链表
    [LeetCode] Merge Sorted Array
  • 原文地址:https://www.cnblogs.com/amadeuslee/p/3744269.html
Copyright © 2011-2022 走看看