ruby on rails - Postgres server doesn't launch -


i try set postgres rails in order able deploy on heroku. resuming rails tutorials , bit lost (am no programmer)

in pgadminiii try connect single server available (postgresql 9.3 localhost 5432)

it asks password (which guessing @ moment) , shows error:

server doesn't listen 

my questions are:

  • is password super user password? (the 1 own @ moment)
  • what purpose of super user password?
  • how can recover password activates server?

follow tutorial command line , way can alter password , create new user custom password.

actually default there template1 database creates postgresql while intalling first time , can create database.

first steps mention in tutorial , applicatio eed create database

rake db:create:all 

postgresql tutorial

super user password need setup postgresql on system, can access of super admin.

password recovery command there in tutorial.

-------updates---------

there 2 possible reasons this: either server isn’t running @ all. start it.

the other non-trivial cause message server isn’t configured accept tcp/ip requests on address shown.

check postgresql.conf file, add line

tcpip = true

or if there "false" value replace above line.

hope helps.


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -