<p>除了网上能搜索到得解决方案外,还需要注意是否安装了mysql开发包</p>
<p>还是把需要安装的包明确写一下吧,免得每次都忘记</p>
<p></p>
<p></p>
<p>1.MySQLdb安装</p>
<p>1.首先下载的链接如下:</p>
<p><a href="http://dev.mysql.com/downloads/mysql/">http://dev.mysql.com/downloads/mysql/</a>
</p>
<p>到该页面有个</p>
<p>MySQL Community Server<br>
到这个服务下面,选择相应的操作系统,64位的linux redhat</p>
<p>1.下载<strong>Red Hat & Oracle Enterprise Linux 5
(x86, 64-bit), RPM Package<br>
Development Libraries</strong>
5.5.10 3.7M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401853">Download</a>
</div>
<p>(MySQL-devel-5.5.10-1.rhel5.x86_64.rpm)</p>
<p>2.下载
<strong>Red Hat & Oracle Enterprise Linux 5 (x86, 64-bit), RPM
Package<br>
Client Utilities</strong>
5.5.10 17.3M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401839">Download</a>
</div>
<p>(MySQL-client-5.5.10-1.rhel5.x86_64.rpm) </p>
<p>3.下载<strong>Red Hat & Oracle Enterprise Linux 4 (x86,
64-bit), RPM Package<br>
Shared components</strong>
5.5.10 1.9M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401892">Download</a>
</div>
<p>(MySQL-shared-5.5.10-1.rhel4.x86_64.rpm)</p>
<p>4.easy_install MySQL-python</p>
<p>还是把需要安装的包明确写一下吧,免得每次都忘记</p>
<p></p>
<p></p>
<p>1.MySQLdb安装</p>
<p>1.首先下载的链接如下:</p>
<p><a href="http://dev.mysql.com/downloads/mysql/">http://dev.mysql.com/downloads/mysql/</a>
</p>
<p>到该页面有个</p>
<p>MySQL Community Server<br>
到这个服务下面,选择相应的操作系统,64位的linux redhat</p>
<p>1.下载<strong>Red Hat & Oracle Enterprise Linux 5
(x86, 64-bit), RPM Package<br>
Development Libraries</strong>
5.5.10 3.7M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401853">Download</a>
</div>
<p>(MySQL-devel-5.5.10-1.rhel5.x86_64.rpm)</p>
<p>2.下载
<strong>Red Hat & Oracle Enterprise Linux 5 (x86, 64-bit), RPM
Package<br>
Client Utilities</strong>
5.5.10 17.3M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401839">Download</a>
</div>
<p>(MySQL-client-5.5.10-1.rhel5.x86_64.rpm) </p>
<p>3.下载<strong>Red Hat & Oracle Enterprise Linux 4 (x86,
64-bit), RPM Package<br>
Shared components</strong>
5.5.10 1.9M </p>
<div class="button03">
<a href="http://dev.mysql.com/downloads/mirror.php?id=401892">Download</a>
</div>
<p>(MySQL-shared-5.5.10-1.rhel4.x86_64.rpm)</p>
<p>4.easy_install MySQL-python</p>