How to access service using LAN - Mailing list pgsql-novice

From santoso berkah
Subject How to access service using LAN
Date
Msg-id 20030915050434.11740.qmail@web40709.mail.yahoo.com
Whole thread Raw
Responses Re: How to access service using LAN
Re: How to access service using LAN
List pgsql-novice
Dear Friends,

I have a crucial problem, I try to develop an
application using Python and PostgreSQL. I try to make
a GUI using Python and i've planned to SELECT, INSERT
and UPDATE the data on the database server. For
justifications :

PC1<----------------------------> PC2
192.168.0.3/24                    192.168.0.2/24
Mandrake Linux 8.2                Mandrake Linux 8.2
PostgreSQL 7.2 server             Python 2.2 + GUI
Python 2.2
database: mindik                  attribute :
table: name, id                   name, id

But my problem was the Python interpreter still can't
access table in the PC1. I've open the default port:
5432 on Postgresql.conf in /var/lib/pgsql/data
I try to set up the pg_hba.conf:

localhost   mindik  192.168.0.3   trust

I try the interpreter in PC1:
>>>import pg
>>>select=database_query("SELECT name FROM mindik
WHERE id=(13920)")
The message from the Python interpreter :
There is an error setting on the file pg_hba.conf.

Is there anyone who can help my problems, please ?
Thank's for those who able to help me.

Best regards,

Santoso

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Error: The database does not exist on the server
Next
From: Tom Lane
Date:
Subject: Re: How to access service using LAN