Configuring the pg_hba.conf file to allow access from other servers to the database

Posted by Roland on Server Fault See other posts from Server Fault or by Roland
Published on 2009-09-01T12:44:01Z Indexed on 2013/10/25 15:57 UTC
Read the original article Hit count: 236

Filed under:
|

I have a postgres database on one server and I need access it from another server.

I need to edit the pg_hba.conf file, but have now idea what are the steps to edit this file. Server Centos

I need to add the following line in the file

host    all         all         10.0.2.12         255.255.255.255   trust

I located it in var/lib/pgsql/data/

Now basically I'm not sure what are the correct steps to do this

© Server Fault or respective owner

Related posts about centos

Related posts about postgresql