码迷,mamicode.com
首页 > 数据库 > 详细

postgresql配置

时间:2020-02-29 00:18:05      阅读:95      评论:0      收藏:0      [点我收藏+]

标签:cti   from   user   sql   pgsql   cat   连接   onclick   img   

远程连接配置:

技术图片
# "local" is for Unix domain socket connections only
local   all             all                                     peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
host    all             all             0.0.0.0/0               trust
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local   replication     all                                     peer
#host    replication     all             127.0.0.1/32            ident
#host    replication     all             ::1/128                 ident
sudo vim /var/lib/pgsql/11/data/pg_hba.conf

 

postgresql配置

标签:cti   from   user   sql   pgsql   cat   连接   onclick   img   

原文地址:https://www.cnblogs.com/Neroi/p/12381148.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!