Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-17-2006, 11:18 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Hard time with installing MySQLdb for Python on Linux


I am having hard time with installing MySQLdb on Linux.

My Python version is 2.3. I have downloaded MySQL-python-1.2.1_p2.tar.gz from sourceforge. The README file asks for MySQL installation. My MySql server is on another box. That is why I think I should to install just the MySql client (am I right?).

My Linux is Red Hat Enterprise Linux ES release 4 (Nahant)

These RPMs are available on the MySql download for Red Hat Enterprise Linux 4 RPM (x86) downloads:

Shared libraries
Shared compatibility libraries (3.23, 4.x, 5.x libs in same package)
Headers and libraries
Test suite
Debug information

Which one of above RPMs should I install on my RedHat box to be able to make MySQL-python-1.2.1_p2.tar.gz work?

Any help would be appreciated,
Old 07-18-2006, 05:25 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
I'd try those four
Shared libraries
Shared compatibility libraries (3.23, 4.x, 5.x libs in same package)
Headers and libraries
since it looks like you're trying to compile something from source.
Not that I know much about MySQL :}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing mysqldb for python ssaigol Slackware 1 06-15-2005 03:45 PM
Hard Time Installing Packages That Don't Already Come in *.tgz Format linguae Slackware 7 05-23-2004 05:09 PM
Help me (python and MySQLdb module) Dark Carnival Programming 2 04-22-2004 08:31 AM
Hard time installing Debian and Mplayer zilaei Linux - Software 3 12-10-2003 05:10 AM
Hard Time Installing Packages. rvijay Linux - Newbie 1 09-15-2003 09:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration