LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hard time with installing MySQLdb for Python on Linux (https://www.linuxquestions.org/questions/linux-newbie-8/hard-time-with-installing-mysqldb-for-python-on-linux-464873/)

moeen49 07-17-2006 10:18 AM

Hard time with installing MySQLdb for Python on Linux
 
Hi,

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”:

Server
Client
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,
Alan

Tinkster 07-18-2006 04:25 AM

I'd try those four
Code:

Client
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 :}


Cheers,
Tink


All times are GMT -5. The time now is 12:16 AM.