Re: Help me - Mailing list pgsql-php

From Tran Anh Tu
Subject Re: Help me
Date
Msg-id WorldClient-F200309140823.AA23281761@vnu.edu.vn
Whole thread Raw
In response to Re: Help me  (Martin Marques <martin@bugs.unl.edu.ar>)
List 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@vnu.edu.vn
*******************************************************


pgsql-php by date:

Previous
From: Martin Marques
Date:
Subject: Re: Help me
Next
From: "Tran Anh Tu"
Date:
Subject: Re: Help me