> -----Original Message-----
> From: [email protected] On Behalf Of Matthew Caron
> Sent: 03 July 2012 20:51
> To: [email protected]
> Subject: Re: [Trac] Re: Just started using trac, clicked on 
> project link and get ValueError: too many values to unpack
> 
> On 07/03/2012 03:41 PM, John of NOVA wrote:
> > Hmm...none of the pages I looked at for installation guidance stated
> > what tables had to be created. I figured the project auto-generated
> > them...ok thanks.
> 
> http://trac.edgewall.org/wiki/TracEnvironment#PostgreSQLConnectionString
> 
> "Note that with PostgreSQL you will have to create the 
> database before running trac-admin initenv."

If you use the `schema=` version of the string, you do not need to create a new 
dB each time.  I use this to host multiple projects for different groups, each 
group gets a dB (which has to be created using e.g. pgAdminIII first) and then 
each Trac project gets a different schema, based on the project name.  This 
gives the following template connection string:-

postgres://<username>:<password>@localhost:<port>/<group>?schema=<prjname>

Doing this you only need to create the dB once, then initenv can create the 
schema and tables.

~ mark c

> -- 
> Matthew Caron, Build Engineer
> Sixnet, a Red Lion business | www.sixnet.com
> +1 (518) 877-5173 x138 office
> 
> 
> -- 
> You received this message because you are subscribed to the 
> Google Groups "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/trac-users?hl=en.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to