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

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-admin by date

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

pgsql-php by date

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

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