Thanks... On Saturday, March 16, 2013 1:28:14 AM UTC+2, Alessandro Molina wrote: > > If you are using tg2.2.2 (which uses Ming 0.3.2) you can just do: > > ming.url = mongodb://USER:PASSWORD@localhost:27017/ > > Even the ming.db entry can be removed an just use: > > ming.url = mongodb://USER:PASSWORD@localhost:27017/DATABASE > > like you would on sqlalchemy. > > > On Thu, Mar 14, 2013 at 1:24 PM, okazdal <[email protected] > <javascript:>>wrote: > >> Hello, >> I am using a mongo database with enabled authentication. In turbogears >> development.ini file i see: >> >> # pick the form for your database >> # %(here) may include a ':' character on Windows environments; this can >> # invalidate the URI when specifying a SQLite db via path name >> ming.url = mongodb://localhost:27017/ >> ming.db = testdb >> >> What configuration do i need to change to connect to mongo with >> authentication? >> >> Thanks >> >> Osman Kazdal >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TurboGears" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/turbogears?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >
-- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

