gvim /var/lib/pgsql/data/postgresql.conf
gvim /var/lib/pgsql/data/pg_hba.conf
service httpd start
service postgresql start
[root@linux ~]# psql -h 127.0.0.1 -U dbuser -d david -p 5432
psql (8.4.18)
Type "help" for help.
david=> \quit
[root@linux ~]# psql -h 127.0.0.1 -U dbuser -d david -p 5555
psql: could not connect to server: Connection refused
发现密码的改动并未生效,
pgsql 到底用的那个conf文件?,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/kylegui/p/3799188.html