Set path For PostgreSQL in Windows:
- Searching for env will show Edit environment variables for your account
- Select Environment Variables
- 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
Enviado:sábado, 30 de maio de 2020 14:20
Para: Django users
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e2396f7b-9e27-442d-a2aa-302a089bead8%40googlegroups.com.
No comments:
Post a Comment