pgsql 到底用的那个conf文件?

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

发现密码的改动并未生效,

posted @ 2014-06-20 13:45  Gui Kai  阅读(260)  评论(0编辑  收藏  举报