首先:将/var/lib/..../pg_hba.conf文件中的indent全修改为trust即可。

#local   all             all                            ident
# IPv4 local connections:
host    all         all          127.0.0.1/32          md5
host    all         all          127.0.0.1/32          trust
host    all         all          192.168.1.1/32    trust
host    all         all          192.168.1.2/32    trust

其次:重新启动postgresql

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2021-05-30
  • 2021-08-17
  • 2021-05-30
  • 2021-04-24
猜你喜欢
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-11-15
  • 2022-02-11
  • 2022-12-23
相关资源
相似解决方案