英文:
Oracle SQL developer 23.1 Unable to use software due to incompatible version errors
问题
我遇到了以下错误,可能是由于相同的问题导致的:
-
当我点击连接,然后输入密码时,我收到以下错误消息:
执行请求的操作时遇到错误:指定的 Oracle URL 无效
供应商代码 17067 -
接下来,我右键点击连接的属性,然后尝试测试连接时,我收到以下错误消息:
状态:失败 - 测试失败:libocijdbc 的不兼容版本[Jdbc:218000, Jdbc-OCI:2110000]
我在 Windows 11 机器上安装了 Oracle SQL Developer 23.1。我还下载了 instantclient-basic-windows.x64-21.10.0.0.0dbru。我将系统 PATH 添加到了这个即时客户端。我正在使用 TNSNAMES.ora 文件。我甚至进一步安装了较旧版本的 SQL Developer 和即时客户端,但出现了相同的错误 - 不兼容版本不同。
我应该如何在我的机器上正确安装兼容的软件版本?
英文:
I'm getting the following errors, probably due to the same issue:
-
When I click on connection, then type the password I get:
An error was encountered performing the requested operation:Invalid Oracle URL specified
Vendor code 17067 -
Next I right click the properties for the connection, then when I attempt to test the connection I get the following error:
Status : Failure -Test failed: Incompatible version of libocijdbc[Jdbc:218000, Jdbc-OCI:2110000
I've installed Oracle SQL developer 23.1 on Windows 11 machine. I also downloaded the instant client instantclient-basic-windows.x64-21.10.0.0.0dbru. I added the system PATH to this instant client. I'm using TNSNAMES.ora file. I went even further to install older versions or SQL-D and instant client and same errors - well incompatible versions are different.
How do I correctly install compatible software versions on my machine?
答案1
得分: 2
你需要获取jdbc驱动程序并将其添加到您的Instant Client根目录中。
- 下载: ojdbc11.jar
由于某种原因,Instant Client中没有包含此驱动程序,但在完整的Oracle客户端中可用。
您可以使用SQL工作表中的“show connection”或“show jdbc”命令确认它是否正常工作(您有一个THICK或OCI连接)。
英文:
You need to grab the jdbc driver and add it to your Instant Client root directory.
- Download: ojdbc11.jar
For some reason this wasn't included in the Instant Client, but it is available in the full Oracle Client.
I show how here, step by step.
You can confirm it's working (you have a THICK, or OCI, connection) using the 'show connection' or 'show jdbc' command in your SQL Worksheet.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论