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: