you just need to specify the username wich you want to use. So type "psql -U postgres", as postgres being your username.
Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty < [email protected]> escreveu: > Here is it again > > On Sat, May 30, 2020, 10:44 PM Samuel Nogueira <[email protected]> > wrote: > >> Sorry but i think your screenshot wasn’t attached to your last email, >> please end it again >> >> *De: *sunday honesty <[email protected]> >> *Enviado:*sábado, 30 de maio de 2020 18:28 >> *Para: *[email protected] >> *Assunto: *Re: Command open postgresql in from cmd in windows >> >> >> >> Here is the screenshot... Pls download. >> >> >> >> PS: I was connected to the internet and also tried it without internet >> connection. >> >> >> >> On Sat, May 30, 2020, 10:17 PM Samuel Nogueira <[email protected]> >> wrote: >> >> Can you send me more details about the error? A screenshot should be >> enough >> >> *De: *sunday honesty <[email protected]> >> *Enviado:*sábado, 30 de maio de 2020 15:18 >> *Para: *[email protected] >> *Assunto: *Re: Command open postgresql in from cmd in windows >> >> >> >> @Samuel, >> >> I did that and psql now opened and prompted me to enter password for my >> user name(system). I entered the password I created while installing >> postgresql and got a fatal error even when I was connected to the >> internet... >> >> >> >> PS: the username it gave me during installation is postgres but prompted >> me to enter password for my computer username >> >> >> >> On Sat, May 30, 2020, 6:39 PM Samuel Nogueira <[email protected]> >> wrote: >> >> Set path For PostgreSQL in Windows: >> >> >> >> 1. Searching for env will show Edit environment variables for your >> account >> 2. Select Environment Variables >> >> >> 1. From the System Variables box click new(to add new path) >> >> >> >> Include the bin directory of your PostgreSQL installation. then add new >> path there.... >> >> [for example] >> >> C:\Program Files\PostgreSQL\12\bin >> >> After that click OK and then try to type psql in your command shell >> >> >> >> I adapted this from a comment in stackoverflow in the link bellow, if it >> doesnt work I suggest you to go there. >> >> >> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools >> >> >> >> *De: *sunday honesty <[email protected]> >> *Enviado:*sábado, 30 de maio de 2020 14:20 >> *Para: *Django users <[email protected]> >> *Assunto: *Command open postgresql in from cmd in windows >> >> >> >> I have been in a message before I could successfully install postgresql >> on my windows; it seems everyone is using Linux or Mac. >> >> >> >> Pls can someone help me now... >> >> I want to open postgres she'll from my command prompt so I can continue >> what am learning... The Tutorial am following is using Linux and the >> command to "psql" to open shell is not working on my windows. >> >> >> >> Anybody please. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/e2396f7b-9e27-442d-a2aa-302a089bead8%40googlegroups.com >> . >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol >> <https://groups.google.com/d/msgid/django-users/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol?utm_medium=email&utm_source=footer> >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol >> <https://groups.google.com/d/msgid/django-users/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol?utm_medium=email&utm_source=footer> >> . >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CALcuGNsYJgUJQ%2BSywNePjqCH3PM9hpcH97cHDgxj%2BD12ufbdDA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CALcuGNsYJgUJQ%2BSywNePjqCH3PM9hpcH97cHDgxj%2BD12ufbdDA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/ED2B55E2-4BF0-4992-A6C5-233D3243F14F%40hxcore.ol >> <https://groups.google.com/d/msgid/django-users/ED2B55E2-4BF0-4992-A6C5-233D3243F14F%40hxcore.ol?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CALcuGNv38tg%2BiZ5RHsdbA0sT1POh%3DiHvT1V%3D1oSEzoed3S0-zw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CALcuGNv38tg%2BiZ5RHsdbA0sT1POh%3DiHvT1V%3D1oSEzoed3S0-zw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOJT-cAEm%2BURiT_4gKuQPWS7juHDk11P1nNHoGbCwgBjuguUkg%40mail.gmail.com.

