pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tran Anh Tu <trantu@vnu.edu.vn>
To: Kent L. Nasveschuk <kent@wareham.k12.ma.us>
To: pgsql-php@postgresql.org
Subject: Re: Help me
Date: Sun, 14 Sep 2003 09:19:01 +0700
Message-ID: <WorldClient-F200309140919.AA19011762@vnu.edu.vn> (raw)
In-Reply-To: <1063502858.2747.3.camel@1134>
References: <WorldClient-F200309120734.AA34301553@vnu.edu.vn>
	<Pine.LNX.4.33.0309120909050.21225-100000@css120.ihs.com>
	<WorldClient-F200309130858.AA58181702@vnu.edu.vn>
	<200309131050.22440.martin@bugs.unl.edu.ar>
	<WorldClient-F200309140823.AA23281761@vnu.edu.vn>
	<1063502858.2747.3.camel@1134>

If I type: psql waterdb I must login as postgres user.
So what can I do to login using phpPgAdmin 3.0.1?
*******************************************************
Tran Anh Tu
Vien CNTT - DHQG Ha Noi
Phone: 047680417-25   Email trantu@vnu.edu.vn
*******************************************************


-----Original Message-----
From: "Kent L. Nasveschuk" <kent@wareham.k12.ma.us>
To: Tran Anh Tu <trantu@vnu.edu.vn>
Cc: Postgres-Admin list <pgsql-admin@postgresql.org>
Date: 13 Sep 2003 21:27:39 -0400
Subject: Re: [PHP] Help me

> Are you connecting on the local machine? If so try without the -U and
> -p
> 
> ex.: psql waterdb
> 
> You can also use telnet or ssh and connect from a remote machine and do
> the same.
> 
> Kent N
> 
> On Sat, 2003-09-13 at 21:23, Tran Anh Tu wrote:
> > I started postgresql with command:
> > /etc/init.d/postgresql start
> > I created user 'trantu' with password 'hanoi' and this user have 
> > privileges fully to create database and create user.
> > when I type a command:
> > psql -U trantu -p hanoi
> > or
> > psql -U trantu -p hanoi waterdb
> > have a same error:
> > 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.0"?
> > 
> > With phpPgAdmin, apache and php are configured perfecly.
> > Please help me to debug it. Thank you very much.
> > *******************************************************
> > Tran Anh Tu
> > Vien CNTT - DHQG Ha Noi
> > Phone: 047680417-25   Email trantu@vnu.edu.vn
> > *******************************************************
> > 
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> > 
> >                http://www.postgresql.org/docs/faqs/FAQ.html
> -- 
> Kent L. Nasveschuk <kent@wareham.k12.ma.us>
> .




view thread (19+ messages)  latest in thread

Message-ID: <WorldClient-F200309140919.AA19011762@vnu.edu.vn>
Permalink:  ../WorldClient-F200309140919.AA19011762@vnu.edu.vn/
Also on:    postgresql.org/message-id/WorldClient-F200309140919.AA19011762@vnu.edu.vn

 · 

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: trantu@vnu.edu.vn, kent@wareham.k12.ma.us, pgsql-php@postgresql.org
  Subject: Re: Help me
  In-Reply-To: <WorldClient-F200309140919.AA19011762@vnu.edu.vn>
  References: <WorldClient-F200309120734.AA34301553@vnu.edu.vn> <Pine.LNX.4.33.0309120909050.21225-100000@css120.ihs.com> <WorldClient-F200309130858.AA58181702@vnu.edu.vn> <200309131050.22440.martin@bugs.unl.edu.ar> <WorldClient-F200309140823.AA23281761@vnu.edu.vn> <1063502858.2747.3.camel@1134> <WorldClient-F200309140919.AA19011762@vnu.edu.vn>

* 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