On 20 Mrz., 17:21, Ramiro Morales <[email protected]> wrote:
> On Wed, Mar 18, 2009 at 7:23 PM, waltbrad <[email protected]> wrote:
>
> > First time I think I've ever tried this. I'm using postgres and the
> > database is configured correctly and I have psql.exe on my path.
>
> > So at the dos prompt I can:
>
> > C:\>psql -d postgres -U admin
>
> > type in the password and I'm fine. If I open the prompt within my
> > project directory I can do the same with Django as user.
>
> > But, when I open the dbshell in my project directory, it goes this
> > way:
>
> > C:\myproj>python manage.py dbshell
>
> > C:\myproj>Password for user Django
>
> > I type in the password and get:
>
> > '*********' is not recognized as an internal or external command,
> > operable program or batch file.
>
> > C:\myproj>
>
> > Then if just hit enter, I get:
>
> > psql: fe_sendauth: no password supplied
>
> > hit enter again and I'm back at the prompt again.
>
> I suspect this is the same issue described in ticket [2]10357.
>
> Please try applying the latest patch attached to that ticket and share
> your experiences because that would confirm this is happening with
> Postgres' psql in addition to the equivalent SQLite and MySQL command
> line tools and this would increase the chances of it or a similar fix
> getting applied to solve this problem with dbshell on Windows.
>
> HTH,
>
> --
> Ramiro Moraleshttp://rmorales.net
>
> 1.http://code.djangoproject.com/ticket/10357
Seems to work with Postgres. Used the patch from the db.patch-file.
Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---