用nivcat链接PostgreSQL报错,如下图 

链接PostgreSQL报错authentication method  10 not supported解决

 

 

 

打开C:\Program Files\PostgreSQL\14\Data\  ,安装默认位置

但是我安装的时候修改了数据存放路径我的在D盘,如下图,打开pg_hba.conf

链接PostgreSQL报错authentication method  10 not supported解决

 

 注释local开的几行,添加如下几行

# "local" is for Unix domain socket connections only
local   all             all                           trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust

最终结果如下图:

链接PostgreSQL报错authentication method  10 not supported解决

 

 

在windows服务里重启:PostgreSQL Server就可以链接成功了。

链接PostgreSQL报错authentication method  10 not supported解决

 

相关文章:

  • 2021-07-24
  • 2022-12-23
  • 2021-09-28
  • 2022-01-26
  • 2021-10-03
  • 2022-01-11
猜你喜欢
  • 2021-08-17
  • 2021-12-12
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2021-12-03
相关资源
相似解决方案