« Getting MySQL-python-1.2.2 to work with XAMPP | Main | The $r / $_REQUEST Shortcut »

March 30, 2009

Getting MySQL-python-1.2.2 to work on Fedora

You need to install mysql-devel:

su
cd 
yum install mysql-devel

Then you need to make sure your /usr/lib/mysql directory is linked under /usr/local/lib

ln -s /usr/lib/mysql /usr/local/lib/.

Now you can install the library

cd MySQL-python-1.2.2
python setup.py install

 

Posted by pj at March 30, 2009 11:29 AM

Comments