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怎么那么多问题?????????????????????????????????????????????????

    烦死了

  • 相关阅读:
    IO模型
    Redis的cluster模式
    #4789. 啊孤独感放辣椒
    #4754. 旅途
    #3189. 八纵八横(c)
    洛谷P2624 [HNOI2008]明明的烦恼
    CF938G Shortest Path Queries
    [CTSC2010]珠宝商
    洛谷P1903 [国家集训队]数颜色 / 维护队列
    AtCoder3611 Tree MST
  • 原文地址:https://www.cnblogs.com/yunquan/p/10608349.html
Copyright © 2011-2022 走看看