pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedvariable question with postgresql
2+ messages / 2 participants
[nested] [flat]
* variable question with postgresql
@ 2001-02-15 04:32 jeff kuo <jhck81@hotmail.com>
2001-02-16 19:23 ` Re: variable question with postgresql Stephan Szabo <sszabo@megazone23.bigpanda.com>
0 siblings, 1 reply; 2+ messages in thread
From: jeff kuo @ 2001-02-15 04:32 UTC (permalink / raw)
To: pgsql-admin
<html><DIV>
<DIV>
<DIV>hi, all</DIV>
<DIV>I am using phpPgAdmin to create tables and fields, and how do I use SET variables to defind a title, eg. Mr. Miss. Mrs.</DIV>
<DIV> </DIV>
<DIV>Another question, when I use the pg_connect("localhost","","","","dbname"); to connect to a the database, the server returns this message </DIV>
<DIV> </DIV>
<DIV>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'? </DIV>
<DIV> </DIV>
<DIV>and when I chage to pg_connect("","","","","dbname");</DIV>
<DIV>return this message</DIV>
<DIV>Unable to connect to PostgreSQL server: FATAL 1: SetUserId: user 'www-data' is not in 'pg_shadow' </DIV>
<DIV> </DIV>
<DIV>can anyone please tell me why !? thank you very much</DIV>
<DIV> </DIV>
<DIV>Jeff K.</DIV>
<DIV> </DIV></DIV></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html;
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: variable question with postgresql
2001-02-15 04:32 variable question with postgresql jeff kuo <jhck81@hotmail.com>
@ 2001-02-16 19:23 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
0 siblings, 0 replies; 2+ messages in thread
From: Stephan Szabo @ 2001-02-16 19:23 UTC (permalink / raw)
To: jeff kuo <jhck81@hotmail.com>; +Cc: 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?
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-02-16 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-15 04:32 variable question with postgresql jeff kuo <jhck81@hotmail.com>
2001-02-16 19:23 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox