I am trying to create a database POSTGRESQL
from Pgadmin4 Version2
.
I have three different scenarios and I am not able to solve any of them.
My first choice. I try to create it normally by providing a password, including localhost and 127.0.0.1 but it returns the known error and does not create anything:
Connection refused Is the server running on host "127.0.0.1" and accepting TCP / IP connections on port 5432?
My second option . I create the database successfully if I remove the checkbox "CONNECT NOW?", And without giving it the PASSWORD. But then when trying to connect I do not know what password to enter.
Third option . I create the database successfully if I remove the checkbox "CONNECT NOW?"
, and without giving it the PASSWORD. In this case I indicate the file where the password is in the last tab of the dialog when we created the database. When I try to connect, it asks me for the password again and gives the same error as in the first case.
Thank you very much.