zoukankan      html  css  js  c++  java
  • Connection to Oracle failed. [66000][12505] Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor .

    我安装了Oracle数据库,默认的数据库用户名是system,密码口令是安装过程中你自己设置的。可以先使用命令框,输入

    sqlplus system;
    

    然后再输入密码即可。

    然后我的数据库连接工具使用的是DataGrip,我在使用DataGrip连接的时候发现,报了这个错误

    Connection to Oracle failed.[66000][12505] Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    可以看到SID有什么问题,我们刚好可以使用上面的命令框来查SID是多少,使用这个语句

    select INSTANCE_NAME from v$instance;
    

    可以查出来SID,然后再在DataGrip里面输入SID,我再次使用DataGrip连接,又报如下错误

    Connection to Oracle failed.[60000][600] ORA-00600: 内部错误代码, 参数: [ksacl_ValidateAccess: !snlinGetNameInfo], [7005], [], [], [], [], [], [], [], [], [], []

    我解决不了,烦死了,Oracle怎么那么多问题?????????????????????????????????????????????????

    烦死了

  • 相关阅读:
    leetcode 264: Ugly Number II
    leetcode 260: Single Number III
    leetcode 241: Different Ways to Add Parentheses
    清远市技术学院大学城网
    英德市职业技术学校大学城网
    清远市田家炳中学大学城网
    清远市清城区清城中学大学城网
    清远市第一中学大学城网
    当前最热的技术
    Python 学习视频
  • 原文地址:https://www.cnblogs.com/yunquan/p/10608349.html
Copyright © 2011-2022 走看看