Re: Create db fails using utility tool

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Shashank Dutt Jha <shashank(dot)dj(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Create db fails using utility tool
Date: 2016-02-04 16:40:24
Message-ID: 56B37EF8.7030904@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 02/03/2016 11:23 PM, Shashank Dutt Jha wrote:
> c:\Program Files\PostgreSQL\9.5\bin>createdb.exe testdb
> createdb: could not connect to database template1: could not connect to
> server:
> Connection refused (0x0000274D/10061)
> Is the server running on host "localhost" (::1) and accepting
> TCP/IP connections on port 5432?
> could not connect to server: Connection refused (0x0000274D/10061)
> Is the server running on host "localhost" (127.0.0.1) and accepting
> TCP/IP connections on port 5432?
>
>

Well the error is pretty specific, so is the server running and if so
does it have the parameters set as above?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Shashank Dutt Jha 2016-02-04 17:45:42 Re: Create db fails using utility tool
Previous Message David G. Johnston 2016-02-04 16:31:00 Re: update without SET ?