pgsql 到底用的那个conf文件?

时间:2014-06-24 09:38:36   收藏:0   阅读:347

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!