而我可以使用'system‘用户通过SQL PLUS连接。在SQL Developer中连接时抛出错误: Status: Failure - Test failed:侦听器拒绝连接,错误如下:ORA-12505, TNS: listener does not currently know of SID given in...
我将Oracle与JMeter一起使用,而不是使用SID,而是使用服务名称。我得到了这个错误:
Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor)
我的JMeter配置:
jdbc:oracle:thin:@<hostname>:<port>:<serv
在运行JBOSS Server 7.1.1最终版和Oracle 11G时
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
在VPN上,并在C:\Windows\System32\drivers\etc>host文件中使用10.79.107.96AMRITPC
有人能给出解决方案吗?
最近,我安装了Oracle12c,并在sqlplus中使用以下命令创建了一个用户,设置了密码并授予了连接权限。我可以使用sqlplus成功登录PYTHON用户并创建表。 ALTER SESSION SET "_ORACLE_SCRIPT"=true;
CREATE USER PYTHON IDENTIFIED BY “1234”;
GRANT CONNECT TO PYTHON;
GRANT CREATE TABLE TO PYTHON; 但是,当我尝试使用相同的凭据使用SQL Developer登录时,它显示以下错误ORA-12505,TNS listener当前不知道连
我已经在我的windows 7 64位操作系统中安装了Oracle 11g Express Edition第2版,并尝试执行JDBC程序,然后我得到了以下错误:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
at oracle.jdbc.driver.T4CConnection.logon(T4CConnec
我正在尝试使用以下url连接oracle和jdbc。
String url = "jdbc:oracle:thin:@<host>:1522:dev;includeSynonyms=true";
但它抛出了以下错误。
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connectio
我创建了一个新的talend项目。我尝试创建一个oracle连接,但il无法通过
错误日志:连接失败。您必须更改数据库设置。java.lang.RuntimeException: java.sql.SQLException: Listener拒绝连接,错误如下: ORA-12505,TNS:listener当前不知道连接描述符中给定的SID
at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getConnection(JDBCDriverLoader.java:208)
at org.talend.
我在java上有一个使用hibernate在oracle db中编写的应用程序。有时我在日志中发现错误01033。但我不能复制它。我已经重启了服务器,oracleXE服务,终止了任务,终止了tns监听器。但我只收到了:
ORA-12505, TNS:listener does not currently know of
SID given in connect descriptor
Oracle服务器需要如何处理才能收到错误ORA-01033?谢谢。
当我将Oracle 18c数据库与java连接时,会出现以下错误。我正在使用的命令。
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@100.100.209.28:1521:PDB1","cmiapps","WEXXXX##");
我正在犯错误。
Listener refused the connection with the follow
我有一个看似简单的问题。当我试图用python脚本连接到oracle数据库时,它抛出了这个错误:
cx_Oracle.DatabaseError: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
问题是,tnsnames.ora是在TNS_ADMIN环境变量中设置的(我正在使用Win10),我甚至可以在创建新连接时通过sqldeveloper找到它。此外,我确信我在脚本中使用了正确的dsn ...因此...有什么想法吗?
当我试图使用连接数据库时,会出现以下错误:
ORA-12505 TNS:listner does not currently know of SID given in connect descriptor
我已经尝试了我在这个网站上找到的所有建议,但都没有效果。
我检查了实例和数据库状态,它们已经启动并处于活动状态。但是为什么我仍然不能连接到那个?
当我尝试oracle默认数据库时,这是可以的,但是我想连接到我自己的数据库,那么您能帮我解决这个问题吗?
我尝试用Java连接Oracle数据库。
我收到以下错误:
Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
我确信我的Java代码没有问题,因为我之前成功地连接了一个PostgresDB。
这是我的context.xml:
<Resource name=
我试着添加一个连接。
jdbc:oracle:thin:@localhost:1521:xe
由于某种原因,它不能工作。错误如下
java.sql.SQLException:侦听器拒绝连接,错误如下: ORA-12505,TNS:侦听器当前不知道连接描述符中给定的SID
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:478)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:547)
at oracle.jdb
我无法每隔一段时间连接到我的数据库。下面是我得到的信息。
Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
I know the SID I am using is correct.如果我只是重新启动计算机,则此错误将消失。我尝试连接到的oracle数据库的实例在我的计算机上本地运行。
这
我正在执行logstash JDBC配置文件,而执行该文件时收到以下错误
Error: Java::JavaSql::SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:xe
请找到我的logstash配置文件:
我最近在尝试连接我的数据库时遇到了一个问题。错误说明找不到监听程序。
Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
我阅读并发布listener.ora和tnsnames.ora中的内容,但当我试图通过windows资源管理器打开这些文件时,它会告诉我选择一个程序来打开它,然后它就打不开了。
有人能帮
我正在尝试通过JDBC连接到数据库
Class.forName("oracle.jdbc.driver.OracleDriver");
String url="jdbc:oracle:thin:@host_name:port:service_name"; //Changed the host_name, port and service_name for confidentiality
String username = "user_name"; // Changed the user_name
String password = "my
我试图用sqldeveloper连接到Oracle数据库18c XE,
但我得到了:
Status : Failure -Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
因此,我正在尝试启动我的侦听器,这是我在/opt/oracle/product/18c/dbhomeXE/network/admin/samples中拥有的
我得到了ls
可能重复:
当我试图连接到Oracle 10g Express Edition时,它会给我带来错误:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:xe
我的示例代码:
我使用oracle 12c和jar ojdbc7在hibernate中配置DB。但是我发现了一个错误:
org.hibernate.exception.JDBCConnectionException:错误调用Driver#connect at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator$1$1.convert(BasicConnectionCreator.java:122) at org.hibernate.engine.jdbc.connections.internal.BasicConnecti
我刚开始在Linux中使用Oracle,所以我对它一无所知。我已经从oracle-xe-11.2.0-1.0.x86_64中安装了,然后通过以下命令登录到sqlplus:sqlplus sys as sysdba之后,我创建了一个用户并通过grant connect, resource to MYUSER;授予了对它的访问权限,一切正常,现在我可以通过用户名和密码输入sqlplus,但是在sqldeveloper中,当我想要创建一个连接时,它会返回一些错误:
Status : Failure -Test failed: Listener refused the connection with