Skip site navigation (1) Skip section navigation (2)

Running postgresql on localhost

From: chrisstrachan(at)msn(dot)com (chrisstrachan_at_msn(dot)com)
To: pgsql-novice(at)postgresql(dot)org
Subject: Running postgresql on localhost
Date: 2004-04-22 19:49:17
Message-ID: 6fd18014.0404221149.6b7c50c4@posting.google.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi everyone,

Probably a bit of a basic config problem but any help would be really
appreciated

I can currently log in fine to psql like so,

#psql template1 -p 5432

this by default logs you into the local socket but unfortuanately it
does not work when I try

#psql template1 -h localhost

and returns the error

psql: unknown host name: localhost  ( a similar login with mysql works
fine )

This has been quite frustrating as it means I can't login to the
database with tools such as pgadmin


Thanks in advance

Chris Strachan
chrisstrachan at msn.com

Responses

pgsql-novice by date

Next:From: Joe ConwayDate: 2004-04-22 21:22:31
Subject: Re: How do I trigger the re-creation of a crosstab-type
Previous:From: Jeff DeroshiaDate: 2004-04-22 15:35:31
Subject: postmaster does not shut down

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group