[英]cx_Oracle does not work with Oracle database 10gR2
using python3.6 I have installed cx_Oracle 6.4.1 and the instantclient for Oracle 10gR2 (basic-10.2.0.5.0-linux-x64) but it doesn't work. 使用python3.6我已经为Oracle 10gR2 (basic-10.2.0.5.0-linux-x64)安装了cx_Oracle 6.4.1和InstantClient,但是它不起作用。 In previous releases of cx_Oracle it used to connect with 10gR2 databases but now it seems not to be supported anymore.
在以前的cx_Oracle版本中,它曾经与10gR2数据库连接,但现在似乎不再受支持。
Is there a way in python to connect to this version of database? python中有没有办法连接到此版本的数据库?
Thanks! 谢谢!
From the cx_Oracle installation instructions : 从cx_Oracle安装说明中 :
Oracle client libraries versions 12.2, 12.1 and 11.2 are supported
支持Oracle客户端库版本12.2、12.1和11.2
From the cx_Oracle installation instructions on interoperability : 从关于互操作性的cx_Oracle安装说明中 :
Oracle's standard client-server network interoperability allows connections between different versions of Oracle Client libraries and Oracle Database.
Oracle的标准客户端-服务器网络互操作性允许在不同版本的Oracle客户端库和Oracle数据库之间建立连接。 For certified configurations see Oracle Support's Doc ID 207303.1.
有关认证的配置,请参见Oracle支持的Doc ID 207303.1。 In summary, Oracle Client 12.2 can connect to Oracle Database 11.2 or greater.
总之,Oracle Client 12.2可以连接到Oracle Database 11.2或更高版本。 Oracle Client 12.1 can connect to Oracle Database 10.2 or greater.
Oracle Client 12.1可以连接到Oracle Database 10.2或更高版本。 Oracle Client 11.2 can connect to Oracle Database 9.2 or greater.
Oracle Client 11.2可以连接到Oracle Database 9.2或更高版本。 The technical restrictions on creating connections may be more flexible.
创建连接的技术限制可能更加灵活。 For example Oracle Client 12.2 can successfully connect to Oracle Database 10.2.
例如,Oracle Client 12.2可以成功连接到Oracle Database 10.2。
Your quick solution is to install the 12.1 or 12.2 Instant Client RPMs. 您的快速解决方案是安装12.1或12.2 Instant Client RPM。 (The longer solution is to upgrade your DB to a supported release!)
(更长的解决方案是将数据库升级到受支持的版本!)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.