Re: can't connect with dbshell
On 20 Mrz., 17:21, Ramiro Morales wrote: > On Wed, Mar 18, 2009 at 7:23 PM, waltbrad 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 django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: can't connect with dbshell
On Wed, Mar 18, 2009 at 7:23 PM, waltbrad 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 Morales http://rmorales.net 1. http://code.djangoproject.com/ticket/10357 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: can't connect with dbshell
Same problem here and no additional information. Could somebody please help us? Thank you! On 18 Mrz., 23:23, waltbrad 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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
can't connect with dbshell
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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---