数据库新手学习问题记录执行请求的操作时遇到错误: Listener refused the connection with the following error: ORA-12505, TNS:listener doe

执行请求的操作时遇到错误:


Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
 


供应商代码 12505


原本一直正常使用,在关闭重连后出现错误。

曾经也出现过,但莫名自己解决了

解决方案:

1.打开高级设置,设置环境变量。

执行请求的操作时遇到错误: Listener refused the connection with the following error: ORA-12505, TNS:listener doe

2.添加新的变量

变量名=oracle_sid

变量值=xxXX是自己设置的SID

执行请求的操作时遇到错误: Listener refused the connection with the following error: ORA-12505, TNS:listener doe

执行请求的操作时遇到错误: Listener refused the connection with the following error: ORA-12505, TNS:listener doe

3.重启电脑后,成功连接上数据库。

开心(*^▽^*)

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2021-10-30
  • 2021-07-07
  • 2021-11-10
  • 2021-11-02
  • 2022-01-20
猜你喜欢
  • 2021-08-25
  • 2021-10-27
  • 2021-08-28
  • 2022-12-23
  • 2021-09-16
  • 2021-11-27
相关资源
相似解决方案