pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TaChung Huang <tachung_h@yahoo.com>
To: 'Paul Kavanagh' <p_kavanagh@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Connection problem (newbie question)
Date: Sat, 7 Dec 2002 13:48:25 -0800
Message-ID: <005101c29e3a$5f815b40$6600a8c0@BLUEFIN> (raw)
In-Reply-To: <HKEDILLCCEAKJALDHBHEOEBGCMAA.p_kavanagh@yahoo.com>

HI Paul: you would need to specify a database name such as the
"template1". The "template1" database is installed by default as you
install PostgreSQL. 

psql <database name>

If you do not specify a database name, the default database name that
psql will use is 'postgresql"


Regards 
TaChung Huang (¶À¤j©¾) 



-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Paul Kavanagh
Sent: Saturday, December 07, 2002 12:51 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Connection problem (newbie question)


Hi,

I've just installed Postgresql 7.3 via Cygwin on Win2K, started the
postmaster successfully, yet cannot connect using psql. See below for
trace:

$ pg_ctl start -D /usr/share/postresql/data -l serverlog postmaster
successfully started

$ psql
psql: 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"?

I've attached my .conf.

Any ideas ?

Thanks in advance,
-Paul




view thread (9+ messages)  latest in thread

Message-ID: <005101c29e3a$5f815b40$6600a8c0@BLUEFIN>
Permalink:  ../005101c29e3a$5f815b40$6600a8c0@BLUEFIN/
Also on:    postgresql.org/message-id/005101c29e3a$5f815b40$6600a8c0@BLUEFIN

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tachung_h@yahoo.com, p_kavanagh@yahoo.com
  Subject: Re: Connection problem (newbie question)
  In-Reply-To: <005101c29e3a$5f815b40$6600a8c0@BLUEFIN>
  References: <HKEDILLCCEAKJALDHBHEOEBGCMAA.p_kavanagh@yahoo.com> <005101c29e3a$5f815b40$6600a8c0@BLUEFIN>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox