It works, but the template development.ini which quickstart generated
is wrong,here is the wrong line:

# sqlalchemy.url=postgres://username:password:p...@hostname/
databasename

On 12月30日, 下午4时20分, Chris Miles <[email protected]> wrote:
> On 30/12/2008, at 5:48 PM, Chen Houwu wrote:
>
>
>
> > I am new to postgres and TG2.
>
> > I can connect the a postgres database using pgAdminIII with the
> > acount:
> > usernam:chw
> > password:chw
>
> > Here is the connect string in develepment.ini:
> > sqlalchemy.url=postgres://chw:chw:[email protected]/docman
>
> Your database URI is incorrect.  You want:
>
> sqlalchemy.url=postgres://chw:[email protected]:5432/docman
>
> Cheers,
> Chris Miles
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to