Changes between Version 2 and Version 3 of TracEnvironment


Ignore:
Timestamp:
Dec 3, 2015, 10:33:43 AM (9 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracEnvironment

    v2 v3  
    1414
    1515=== Some Useful Tips
     16
     17 - Place your environment's directory on a filesystem which supports sub-second timestamps, as Trac monitors the timestamp of its configuration files and changes happening on a filesystem with too coarse-grained timestamp resolution may go undetected in Trac < 1.0.2 (this is also true for the location of authentication files when using TracStandalone).
     18
    1619 - The user under which the web server runs will require file system write permission to
    1720 the environment directory and all the files inside. Please remember to set
     
    3639[wiki:TracBackup backed up] together with the rest of the environment.
    3740
     41Note that if the username or password of the connection string (if applicable) contains the `:`, `/` or `@` characters, they need to be URL encoded.
     42
    3843=== SQLite Connection String ===
    3944The connection string for an SQLite database is:
     
    5156postgres://johndoe:letmein@localhost/trac
    5257}}}
    53 ''Note that due to the way the above string is parsed, the "/" and "@" characters cannot be part of the password.''
    5458
    5559If PostgreSQL is running on a non-standard port (for example 9342), use:
     
    9296=== MySQL Connection String ===
    9397
    94 If you want to use MySQL instead, you'll have to use a
    95 different connection string. For example, to connect to a MySQL
    96 database on the same machine called `trac`, that allows access to the
     98The format of the MySQL connection string is similar to the examples presented for PostgreSQL, with the `postgres` schema being replaced by `mysql`. For example, to connect to a MySQL
     99database on the same machine called `trac`, allowing access to the
    97100user `johndoe` with the password `letmein`, the mysql connection string is:
    98101{{{
     
    147150   * `site.html` - method to customize header, footer, and style, described in TracInterfaceCustomization#SiteAppearance
    148151
    149 '''Caveat:''' ''don't confuse a Trac environment directory with the source code repository directory.''
     152=== Caveat: don't confuse a ''Trac environment directory'' with the ''source code repository directory'' #Caveat
    150153
    151154This is a common beginners' mistake.