From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | jeff kuo <jhck81(at)hotmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: variable question with postgresql |
Date: | 2001-02-16 19:23:51 |
Message-ID: | Pine.BSF.4.21.0102161120560.12587-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, 15 Feb 2001, jeff kuo wrote:
> hi, all
> I am using phpPgAdmin to create tables and fields, and how do I use SET variables to defind a title, eg. Mr. Miss. Mrs.
>
> Another question, when I use the pg_connect("localhost","","","","dbname"); to connect to a the database, the server returns
> this message
>
> Unable to connect to PostgreSQL server: connectDB() -- connect() failed: Connection refused Is the postmaster running (with
> -i) at 'localhost' and accepting connections on TCP/IP port '5432'?
Okay, this probably means you didn't start the server with -i so it's only
accepting local unix domain socket connections.
> and when I chage to pg_connect("","","","","dbname");
> return this message
> Unable to connect to PostgreSQL server: FATAL 1: SetUserId: user 'www-data' is not in 'pg_shadow'
Have you created a database user www-data?
From | Date | Subject | |
---|---|---|---|
Next Message | Jie Liang | 2001-02-16 21:50:48 | Re: Re: [GENERAL] what means "INSERT xxx yyy" ? |
Previous Message | Bruce Momjian | 2001-02-16 18:58:30 | Re: v7.1b4 bad performance |