Changes between Version 2 and Version 3 of PostgresqlRecipe
- Timestamp:
- Mar 6, 2006, 9:22:56 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PostgresqlRecipe
v2 v3 171 171 and run without any further ado. 172 172 173 8. At this point ev rything is wired up and ready to go with tracd as the173 8. At this point everything is wired up and ready to go with tracd as the 174 174 server and SQLite3 as the backend database. You can create your first 175 trac environment by issu eing the following command:175 trac environment by issuing the following command: 176 176 177 177 … … 185 185 and answering the questions regarding the database connection and 186 186 subversion repository. To use a different DB backend you must first 187 initialize the alternative database environment before runing trac-admin .187 initialize the alternative database environment before runing trac-admin initenv. 188 188 189 189 9. To use postgresql as the backend one must first setup a target 190 database user and database to pass to trac-admin when it asks for a 191 connection string. The postgresql command line utilities for this are 192 createuser(1) and createdb(1). 190 database user and a database instance to pass to trac-admin when it asks for a connection string. The postgresql command line utilities for this are createuser(1) and createdb(1). 193 191 194 192 … … 222 220 223 221 The first set of password prompts are used to set the password for the new 224 role. The second set is to authenticate the database connection. Read the 225 man(1) page for createuser for further information and options. 226 Next, create the database you wish to use using the new role just 227 established: 222 role being created. The second set is to authenticate the database connection. Read the man(1) page for createuser for further information and options.Next, create the database you wish to use using the new role just established: 228 223 229 224