Re: Create db fails using utility tool - Mailing list pgsql-sql

From Shashank Dutt Jha
Subject Re: Create db fails using utility tool
Date
Msg-id 649F207B-457F-4DC7-8770-CB5E7E467C4F@gmail.com
Whole thread Raw
In response to Re: Create db fails using utility tool  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Create db fails using utility tool  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-sql
Yes server is running on the local host and default port. I can connect to it using UI pgsql client



> On Feb 4, 2016, at 10:10 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
>> 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.klaver@aklaver.com



pgsql-sql by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Create db fails using utility tool
Next
From: Adrian Klaver
Date:
Subject: Re: Create db fails using utility tool