Monday, February 26, 2007

TRAC & SQLite

TRAC Upgrade
  • trac-admin /path/to/trac/env upgrade
SQLite Save & Restore
  1. sqlite3 /path/to/.db
  2. >.dump
  3. >.output /tmp/dumped-db.sql
  4. > Ctrl-D
  5. sqlite3 /path/to/new.db
  6. >.read /tmp/dumped-db.sql
  7. > Ctrl-D
TRAC Problem with latest updated centosplus (4.4).
  • SQLite support in PHP is conflict with python-sqlite and mod_python. Need to disable it at /etc/php.d/pdo_sqlite.ini (or either remove php-pdo package).

No comments: