• 数据库报ORA-12514


    Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor.

    原因:监听器配置问题,具体没搞懂,猜测是SID链接不匹配,监听器无法监听到orcl。

    修改oracle安装目录下D:appxuannanproduct11.2.0dbhome_1 etworkadminlistener.ora文件

    # listener.ora Network Configuration File: D:appxuannanproduct11.2.0dbhome_1 etworkadminlistener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:appxuannanproduct11.2.0dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:appxuannanproduct11.2.0dbhome_1inoraclr11.dll")
    )
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = D:appxuannanproduct11.2.0dbhome_1)
    (SID_NAME = orcl)
    )
    )

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

    ADR_BASE_LISTENER = D:appxuannan

    加上这一段就好了

  • 相关阅读:
    $.ajax
    es6--之箭头函数
    vuex相关知识点
    grunt---grunt_test 测试用例
    git2--常用命令
    git命令
    百万程序员的苦恼-选择VB.NET还是C#
    在Linux上运行C#
    C#中的cookie编程
    C#编程让Outlook乖乖交出帐户密码
  • 原文地址:https://www.cnblogs.com/augustuss/p/14118481.html
Copyright © 2020-2023  润新知