How to access psql from client in LAN

From: santoso berkah <im_id(at)yahoo(dot)com>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: How to access psql from client in LAN
Date: 2003-09-06 23:39:49
Message-ID: 20030906233949.31369.qmail@web40705.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy

Dear Friends,

I have a trouble in connecting PostgreSQL and Python,
for my administrative application.

Are there any special configuration in pg_hba.conf or
any other configuration files for allowing Python to
access PostgreSQL database service ?
For example :

PC1(Server) <-----------> PC2 (Client)
Mandrake Linux 8.2 Mandrake Linux 8.2
192.168.0.3/24 192.168.0.2/24
PostgreSQL Service(7.2) Python 2.2(GUI)

I've tried to access The PostgreSQL from the Python
Interpreter, but there was an error message.

>>>import pg
...
Error ... There is an error in file pg_hba.conf to
allow ...

I want to access PostgreSQL table and field from the
Client(PC2) using Python GUI.

Can you give me total solution ??
Thank's a lot for your help,

Best Regards,
Santoso

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

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Josh Berkus 2003-09-06 23:52:39 Re: How to access psql from client in LAN
Previous Message Roderick A. Anderson 2003-09-06 12:33:38 Re: Need CDs, Brochures, Swag for Comdex