Edgewall Software

Changes between Version 12 and Version 13 of DatabaseBackend


Ignore:
Timestamp:
Dec 6, 2005, 11:56:50 PM (18 years ago)
Author:
trac@…
Comment:

added the link to ticket #986 which contains patch for MySQL support

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBackend

    v12 v13  
    33Currently, Trac uses [http://www.sqlite.org SQLite] as its database backend.
    44
    5 However, there have been several requests that other databases should be supported as well (see #126).
     5However, there have been several requests that other databases should be supported as well (see #126, #986).
    66
    77== Existing Proposals and Implementations ==
     
    1919}}}
    2020
     21MySQL is only experimentally supported with the patch attached to ticket #986.  It also has several limitations.
     22 * Have a working copy of MySQL version 4.1.12 or greater.
     23 * [http://sourceforge.net/projects/mysql-python MySQLdb] - Python database driver for MySQL
     24 * Create a database and user for your Trac environment
     25{{{
     26% createdatabase dbname
     27% mysql
     28> grant all privileges on dbname.* to dbuser identified by 'dbpass';
     29> quit
     30}}}
     31 * Run trac-admin to create a new Trac environment.  When prompted for a database connection string, use:
     32{{{
     33mysql://dbuser:dbpass@host:port/dbname
     34}}}
     35 * or
     36{{{
     37mysql://dbuser:dbpass@host/dbname
     38}}}
    2139
    2240== Object-Relational Mapper ==