Re: what do I wrong???
От | Matthew Horoschun |
---|---|
Тема | Re: what do I wrong??? |
Дата | |
Msg-id | C237284E-3277-11D7-84B0-000393B3A702@canprint.com.au обсуждение исходный текст |
Ответ на | what do I wrong??? (Borsos József <pgsql-php@borsos.hu>) |
Список | pgsql-php |
Hi Borsos, Could be a lot of different things. 1. What does pg_hba.conf contain? 2. You appear to be connecting using TCP/IP. Have you started postmaster with the -i option or is 'tcpip_tocket = true' in postgresql.conf? 3. Can you connect using the same host, port, dbname, user and password using the psql command-line client? Matthew. On Saturday, January 25, 2003, at 04:57 AM, Borsos József wrote: > $conn_string = "host=x.x.x.x port=5432 dbname=xxxx user=COMPAX > password=xxxx"; > $connect = pg_connect($conn_string); > > RESULT: > > Warning: pg_connect() [function.pg-connect]: Unable to connect to > PostgreSQL server: Password authentication failed for user 'COMPAX' . > in xxx on line 4 > -- Matthew Horoschun Network Administrator CanPrint Communications Pty. Ltd.
В списке pgsql-php по дате отправления: