i am getting this error. Can anyone suggest what to do?
Error message is clear. You need to add the host entry in pg_hba file. You need access to your postgres file system to add this entry. Make sure to restart the db.
Hello,
DB is hosted on AWS Cloud. can you tell the process how to get this pg_hbs.conf file. Have been searching for this since a week
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know it is available in Clusters data directory but don't know what is the path
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on how your db is configured. Whether it's a managed db or postgres installed on the host?
Found this article related to aws. https://forums.aws.amazon.com/thread.jspa?threadID=143677
If it's a managed db, you just need to make sure they can talk to each other. You wouldn't be able to access the filesystem.
If the postgres is installed on a host, the file is usually available in /var/lib/postgres/9.6 or run the following command on postgres
SHOW hba_file;
to find the location
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.