Postgresql does not prompt for password

前端 未结 3 1580
我寻月下人不归
我寻月下人不归 2021-02-02 01:12

I have a postgresql 8.3 db set up on linux box, together with a user postgres The pg_hba.conf reads

local   all         postgres                          ident          


        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-02 02:02

    Are you sure you did restart or reload of PostgreSQL after pg_hba.conf change?

    If yes, type this command from postgres system account (shell):

    psql -qAt -c "show hba_file" | xargs grep -v -E '^[[:space:]]*#'
    

    If this will not help - show us output of the command.

提交回复
热议问题