Re: I hava a problem in postgresql! - Mailing list pgsql-docs

From Oliver Elphick
Subject Re: I hava a problem in postgresql!
Date
Msg-id 200011091719.eA9HJg531162@linda.lfix.co.uk
Whole thread Raw
In response to I hava a problem in postgresql!  ("ksp" <ksp@ms12.url.com.tw>)
List pgsql-docs
"ksp" wrote:
  >I am a tiro in the postgresql,I will use the PHP Function to connection pos=
  >tgresql.I use the=20
  >pg_connect("localhost","5432","","","webmaster")
  >
  >The error message:
  >warning: Unable to connect to PostgresSQL server: FATAL 1: SetUserId: user =
  >'nobody' is not in 'pg_shadow' in /home/e0001cq/html/memo_postgre/memo_inse=
  >rt.php3 on line 2

PostgreSQL users are not the same as system users.  You have to create
the user `nobody' in PostgreSQL (or tell PHP to connect as a different user).

As user postgres, do: `createuser nobody' at the shell prompt and answer
the questions.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "O death, where is thy sting? O grave, where is
      thy victory?"             1 Corinthians 15:55



pgsql-docs by date:

Previous
From: "ksp"
Date:
Subject: I hava a problem in postgresql!
Next
From: Christopher Farley
Date:
Subject: JDBC Documentation