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

Re: Help me

From: "Tran Anh Tu" <trantu(at)vnu(dot)edu(dot)vn>
To: "Kent L(dot) Nasveschuk" <kent(at)wareham(dot)k12(dot)ma(dot)us>,<pgsql-php(at)postgresql(dot)org>
Subject: Re: Help me
Date: 2003-09-14 02:19:01
Message-ID: WorldClient-F200309140919.AA19011762@vnu.edu.vn (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-php
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(at)vnu(dot)edu(dot)vn
*******************************************************


-----Original Message-----
From: "Kent L. Nasveschuk" <kent(at)wareham(dot)k12(dot)ma(dot)us>
To: Tran Anh Tu <trantu(at)vnu(dot)edu(dot)vn>
Cc: Postgres-Admin list <pgsql-admin(at)postgresql(dot)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(at)vnu(dot)edu(dot)vn
> > *******************************************************
> > 
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> > 
> >                http://www.postgresql.org/docs/faqs/FAQ.html
> -- 
> Kent L. Nasveschuk <kent(at)wareham(dot)k12(dot)ma(dot)us>
> .


In response to

Responses

  • Re: Help me at 2003-09-14 04:57:55 from Christopher Kings-Lynne

pgsql-admin by date

Next:From: Christopher Kings-LynneDate: 2003-09-14 04:57:55
Subject: Re: Help me
Previous:From: Kent L. NasveschukDate: 2003-09-14 01:27:39
Subject: Re: [PHP] Help me

pgsql-php by date

Next:From: Christopher Kings-LynneDate: 2003-09-14 04:57:55
Subject: Re: Help me
Previous:From: Kent L. NasveschukDate: 2003-09-14 01:27:39
Subject: Re: [PHP] Help me

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