Thread: How to access psql from client in LAN

How to access psql from client in LAN

From
santoso berkah
Date:
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

Re: How to access psql from client in LAN

From
Josh Berkus
Date:
Santoso,

You've joined the wrong mailing list.   Please join the PGSQL-NOVICE list
instead, and post your question there.   I'm sure someone can help.

Thanks!

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco