Skip to main content

mysqldb

MySQLdb

Posted in

Instruction for installing Trac using MySQL instead of SQLite

Install MySQL per the instructions here.However, add --enable-thread-safe-client to the configure options.
Edit your ~/.bash_profile and add your MySQL binaries:

PATH="${PATH}:/usr/local/mysql/bin"
Then, install MySQLdb. First, download a copy of the latest version:
cd /extra/src
wget http://superb-east.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz
tar zxvf MySQL-python-1.2.2.tar.gz
cd MySQL-python-1.2.2

Syndicate content