解决办法:
修改pg_hba.conf,在第一行添加一行:
host all all 0.0.0.0/0 md5
表示允许任何用户连接到任何数据库,用一个加密的密码

完全信任:  host all all 0.0.0.0/0 trust

 

  对应 greenplum,搜索 pg_hba.conf 文件

连接greenplum(postgresql)数据库报错:no pg_hba.conf entry for host,以及重启 greenplum

 

   添加完后,重启 greenplum.

  首先执行 greenplum_path.sh 脚本

连接greenplum(postgresql)数据库报错:no pg_hba.conf entry for host,以及重启 greenplum

 

  然后:export MASTER_DATA_DIRECTORY=/data/gpmaster/gpseg-1

  停止指令:gpstop

  启动指令:gpstart

相关文章:

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