【问题标题】:Error in Creating New Database connection in Sql Developer在 Sql Developer 中创建新数据库连接时出错
【发布时间】:2015-07-15 03:18:52
【问题描述】:

创建新数据库时出现以下错误

我的用户名/我的密码, 主机名 - 本地主机, 端口 - 1521, SID - XE

状态:失败 - 测试失败:侦听器拒绝与 以下错误:ORA-12505,TNS:listener 目前不知道 连接描述符中给定的 SID

【问题讨论】:

标签: sql oracle database-connection


【解决方案1】:

试试这个。来源docs.oracle

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
 Cause: 
The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a SID for an instance (usually a database instance) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action: 
- Wait a moment and try to connect a second time.

- Check which instances are currently known by the listener by executing: lsnrctl services <listener name>

- Check that the SID parameter in the connect descriptor specifies an instance known by the listener.

- Check for an event in the listener.log file.

【讨论】:

    猜你喜欢
    • 2013-09-11
    • 1970-01-01
    • 2021-02-04
    • 2020-04-23
    • 2017-06-20
    • 1970-01-01
    • 2021-01-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多