@code33
2016-04-06T14:48:39.000000Z
字数 223
阅读 674
postgresql
技术文档
$PGDATA 内的 postgresql.conf
文件 IP地址监听打开,令任意IP皆可访问
listen_address='localhost'
改作
listen_address='*'
$PGDATA 内的 pg_hba.conf
文件
增加规则:
任意地址 任意数据库 从任意IP可用密码方式连接
host all all 0.0.0.0/0 password