码迷,mamicode.com
首页 > 数据库 > 详细

python连接oracle

时间:2016-04-13 12:57:02      阅读:305      评论:0      收藏:0      [点我收藏+]

标签:

1.下载oracle包,安装

下载地址:http://cx-oracle.sourceforge.net/ 

下载rpm包cx_Oracle-5.2.1-11g-py27-1.x86_64.rpm

进入root账户,执行

sudo rpm -ivh cx_Oracle-5.2.1-11g-py27-1.x86_64.rpm

2.安装oracle client包

http://www.oracle.com/technetwork/topics/linuxsoft-082809.html

oracle-instantclient12.1-basic-12.1.0.2.0-1.i386.rpm

oracle-instantclient12.1-devel-12.1.0.2.0-1.i386.rpm

oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.i386.rpm

安装

rpm -ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.i386.rpm

rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.i386.rpm

rpm -ivh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.i386.rpm

/usr/include/oracle/12.1/client/

 

python连接oracle

标签:

原文地址:http://www.cnblogs.com/aijianiula/p/5386575.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!