On 10/31/2012 02:53 PM, Zhu Wayne wrote:
I am using Python 2.4.3 and can import MySQLdb without any issue in the
shell.
$python -V
Python 2.4.3
$python
Python 2.4.3 (#1, Nov  3 2010, 12:52:40)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import MySQLdb;



RHEL 5 prior to 5.8 had a version of the MySQL-python package that is too old for Django: https://bugzilla.redhat.com/show_bug.cgi?id=475854

You need to upgrade to the latest version of the package:
MySQL-python-1.2.3-0.1.c1.el5

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Reply via email to