Re: Help me

From: "Tran Anh Tu" <trantu(at)vnu(dot)edu(dot)vn>
To: "Martin Marques" <martin(at)bugs(dot)unl(dot)edu(dot)ar>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: Help me
Date: 2003-09-14 01:23:28
Message-ID: WorldClient-F200309140823.AA23281761@vnu.edu.vn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-php

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
*******************************************************

In response to

  • Re: Help me at 2003-09-13 13:50:22 from Martin Marques

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kent L. Nasveschuk 2003-09-14 01:27:39 Re: [PHP] Help me
Previous Message Tom Lane 2003-09-13 23:16:47 Re: Configure complaints: Installed libs/apps not found

Browse pgsql-php by date

  From Date Subject
Next Message Kent L. Nasveschuk 2003-09-14 01:27:39 Re: [PHP] Help me
Previous Message Martin Marques 2003-09-13 13:50:22 Re: Help me