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

    烦死了

  • 相关阅读:
    ListView点击事件
    ListView优化:
    自定义ListView
    ListView简单使用
    mysql中show processlist过滤和杀死线程
    自定义控件
    yum配置中driver-class-name: com.mysql.jdbc.Driver报错
    CSS+HTML
    maven的配置
    Model、ModelMap、ModelAndView的作用及区别
  • 原文地址:https://www.cnblogs.com/yunquan/p/10608349.html
Copyright © 2011-2022 走看看