X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 19874D1B52B for ; Sun, 14 Sep 2003 02:21:10 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 40101-01 for ; Sat, 13 Sep 2003 23:21:03 -0300 (ADT) Received: from vnu.edu.vn (mail.vnu.edu.vn [203.113.130.199]) by svr1.postgresql.org (Postfix) with ESMTP id 5EA93D1B526 for ; Sat, 13 Sep 2003 23:20:58 -0300 (ADT) Received: from WorldClient ([127.0.0.1]) (authenticated user trantu@vnu.edu.vn) by vnu.edu.vn (vnu.edu.vn [203.113.130.199]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 54-md50000000176.tmp for ; Sun, 14 Sep 2003 09:19:02 +0700 Received: from [10.6.1.63] via WorldClient with HTTP; Sun, 14 Sep 2003 09:19:01 +0700 Date: Sun, 14 Sep 2003 09:19:01 +0700 From: "Tran Anh Tu" To: "Kent L. Nasveschuk" , Subject: Re: Help me Message-ID: X-Mailer: WorldClient 6.8.4 In-Reply-To: <1063502858.2747.3.camel@1134> References: <200309131050.22440.martin@bugs.unl.edu.ar> <1063502858.2747.3.camel@1134> X-Authenticated-Sender: trantu@vnu.edu.vn X-Spam-Processed: vnu.edu.vn, Sun, 14 Sep 2003 09:19:02 +0700 (not processed: message from valid local sender) X-MDRemoteIP: 127.0.0.1 X-Return-Path: trantu@vnu.edu.vn X-MDaemon-Deliver-To: pgsql-php@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/40 X-Sequence-Number: 2317 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" To: Tran Anh Tu Cc: Postgres-Admin list 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 > .