启动h2o steam时无法连接到postgresql

时间:2016-08-16 14:40:50

标签: postgresql h2o

启动h2o的Steam应用程序时遇到问题:按照随附的手册,我创建了createuser -P steam db用户:

./create-database.sh

然后

./steam serve master --compilation-service-address="localhost:8080"

从适当的目录。看起来很好。但是当我尝试最终用

运行蒸汽时
pq: password authentication failed for user "steam"

它以

失败
pg_hba.conf

我尝试使用添加行修改host steam steam 127.0.0.1/32 trust local steam steam trust

YARN

但它没有用。我已经尝试了steam和独立的states0CommercialA版本。任何想法或变通方法将不胜感激。

1 个答案:

答案 0 :(得分:1)

您是否创建了〜/ .pgpass文件,该文件属于运行Steam的用户?

它应包含:*:*:*:steam:<your password> 而且它应该只是用户可读chmod 600 ~/.pgpass