pgadmin gives me the error: no password supplied

前端 未结 4 1849
南笙
南笙 2020-12-30 23:49

I\'ve installed postgresql 9.2 on linux (kubuntu) and the last version of pgadmin3, but when I connect them I have this error:

An error has occurred: Error connectin

4条回答
  •  执笔经年
    2020-12-30 23:50

    Met this problem recently.

    If you're using PostgreSQL on local machine, and psql works well without logging needed, try pgadmin3's menu File - Add Server - Properties tab, fill in Name field for this connection, leave Host field and Password field empty, and click ok.

    from pgadmin docs

    On Unix based systems, the address field may be left blank to use the default PostgreSQL Unix Domain Socket on the local machine, or be set to an alternate path containing a PostgreSQL socket. If a path is entered, it must begin with a “/”.

    Worked on Debian testing (pgadmin3 1.22, PostgreSQL 11), without touching pg_hba.conf.

提交回复
热议问题