首页 > 代码库 > pgsql 到底用的那个conf文件?

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

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