rake db:create fails, authentication problem with postgresql 8.4

后端 未结 6 1505
逝去的感伤
逝去的感伤 2021-02-06 07:19

first things first, please excuse my utter noobness. I really tried to find a solution out there, but now i\'m stuck and completely clueless.

i\'m trying to deploy a rai

6条回答
  •  死守一世寂寞
    2021-02-06 08:00

    In my case, I found that a later host permissions rule line in the pg_hba.conf file had over-ridden the earlier local line. I was correctly configuring the local line to use md5 authentication but the host line was set to ident which I changed to md5

    As other have emphasized here, note that using trust is an insecure method, so you shouldn't use it in any production-style deployment.

提交回复
热议问题