Changes between Version 29 and Version 30 of DatabaseBackend
- Timestamp:
- Aug 17, 2007, 5:55:00 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DatabaseBackend
v29 v30 80 80 > ALTER DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 81 81 > quit 82 83 NB - it may be necessary to use a different collation. In some cases, where there is a 84 case-sensitive collision between 2 files in svn (/myrepos/path/my.txt and /myrepos/path/MY.txt) 85 utf8_general_ci is case-*in*sensitive, so utf8_bin will allow case-sensitive keys. For example 86 > ALTER DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; 87 If during index of respository you get 1062 - Duplicate Entry this may be a cause 88 see ticket 3676 89 82 90 }}} 91 92 83 93 * Run trac-admin to create a new Trac environment. When prompted for a database connection string, use: 84 94 {{{