Re: createdb: could not connect to database - Mailing list pgsql-novice

From Devrim GUNDUZ
Subject Re: createdb: could not connect to database
Date
Msg-id 1139075514.4139.14.camel@evim.gunduz.org
Whole thread Raw
In response to createdb: could not connect to database  (Paul Smith <phhs80@gmail.com>)
Responses Re: createdb: could not connect to database
List pgsql-novice
Hi,

On Sat, 2006-02-04 at 17:34 +0000, Paul Smith wrote:

> I have just installed postgres 8.1.2 on a computer running Fedora Core
> 4 with the rpms got from postgres site. However, I get the following:
>
>
> $ createdb mydb
> createdb: could not connect to database postgres: could not connect to
> server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> $
>
> Any idea about how to overcome the problem?

Did you start postgresql service?

# service postgresql start

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/


pgsql-novice by date:

Previous
From: Paul Smith
Date:
Subject: createdb: could not connect to database
Next
From: Paul Smith
Date:
Subject: Re: createdb: could not connect to database