Unable to connect to PostgreSQL server: could not connect to server: Permission denied

后端 未结 3 915
逝去的感伤
逝去的感伤 2020-12-15 00:27

Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Permission denied Is the server running on host \"10.0.1.201\" and accepting TCP/

3条回答
  •  攒了一身酷
    2020-12-15 01:23

    In PostgreSQL you have to configure client authentication in pg_hba.conf on the remote server.

    Read more about pg_hba.conf @ http://developer.postgresql.org/pgdocs/postgres/auth-pg-hba-conf.html , otherwise you'll never connect to that server :).

    Hope it will help, Stefan

提交回复
热议问题