installing MySQLdb for python on freebsd

to install MySQLdb you need to have super users' access

\r\n

Installing using Ports
cd /usr/ports/databases/py-MySQLdb/
make install clean

Installing using source code
follow URL  http://sourceforge.net/projects/mysql-python and download the source code

uncompress source code and under superuser's access run following commands

% python setup.py build
% python setup.py install

Categories