用PYTHON操作MYSQL和ORACLE

1、安装相关包

yum install python-devel mysql-devel zlib-devel openssl-devel

2、安装setup、mysql-python包

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
wget http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz

解压,各自都分别执行

python setup.py build

python setup.py install

你可能感兴趣的:(用PYTHON操作MYSQL和ORACLE)