|
发表于 2003-4-11 18:05:36
|
显示全部楼层
First, you should make sure that your postgresql server is running:
#ps -A | grep postmaster
And then, you should go to /var/lib/pgsql/data, there should be a postgresql.conf file and a pg_hba.conf file.
In postgresql.conf file, change the tcpip to true. And restart postgresql by "service postgresql restart", then you can connect to the server by tcpip.
In the pg_hba.conf file, you can decide how to authenticate use. |
|