"没有用于主机localhost的pg_hba.conf条目,用户ADMIN,数据库SYSTEM"

时间:2015-07-25 17:53:38

标签: postgresql ibm-cloud pgadmin

尝试使用pgadmin111连接到Bluemix上的ElephantSQL数据库时,会抛出以下错误。

Access to database denied
The server doesn't grant access to the database: the server reports 
FATAL: no pg_hba.conf entry for host "XX.XXX.XX.XX", user "abcd", database "postgres", SSL on FATAL: no pg_hba.conf entry for host "XX.XXX.XX.XX", user "abcd", database "postgres", SSL off 
To access a database on a PostgreSQL server, you first have to grant primary access to the server for your client (Host Based Authentication). PostgreSQL will check the pg_hba.conf file if a pattern that matches your client address / username / database is present and enabled before any SQL GRANT access control lists are evaluated. 

如何访问bluemix上的pg_hba.conf文件?

0 个答案:

没有答案