Re: createdb: could not connect to database

From: Devrim GUNDUZ <devrim(at)commandprompt(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: createdb: could not connect to database
Date: 2006-02-04 17:51:54
Message-ID: 1139075514.4139.14.camel@evim.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Paul Smith 2006-02-04 17:56:28 Re: createdb: could not connect to database
Previous Message Paul Smith 2006-02-04 17:34:44 createdb: could not connect to database