Error creating POSTGRESQL database

0

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.

    
asked by Edu J Ceb 05.11.2017 в 10:40
source

2 answers

0

I have not used PostgreSQL, only MySQL and SQLServer. But it seems that you do not have a server running since all the scenarios are indicating the same thing. I found this: Error information , Connect to a server I hope it helps you. Greetings

    
answered by 05.11.2017 в 14:46
0

Is that you are not creating a database you are registering a server, if you can send an image of where you are placing to create it would be better and could help you better, but how to manage postgresql what in Actually you are doing this is to register another server that is why it asks for you ip and password.

And to create the database you only have to log in as root in the group of servers that gives default to postgresql and give you to create new DATA BASE and you already create it within your local server that is your computer

    
answered by 10.01.2018 в 22:21