# No encoding error

**URL:** <https://forums.percona.com/t/no-encoding-error/31072>\
**Category:** PostgreSQL\
**Tags:** pmm\
**Created:** [June 18, 2024, 11:51am UTC](https://forums.percona.com/t/no-encoding-error/31072 "2024-06-18T11:51:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgenia\_Yertsenkin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgenia_yertsenkin/32/16946_2.png) [@Evgenia\_Yertsenkin](https://forums.percona.com/u/Evgenia_Yertsenkin)\
**Post date:** [June 18, 2024, 11:51am UTC](https://forums.percona.com/t/no-encoding-error/31072/1 "2024-06-18T11:51:43Z")

</div>

Hi,  
I’m trying to add a RDS Postgres DB to PMM, but getting the following error  
Connection check failed: pq: no pg\_hba.conf entry for host “\*\*\*\*\*”, user “pmm”, database “postgres”, no encryption.

The user is created as the following  
CREATE USER pmm WITH ENCRYPTED PASSWORD ‘\*\*\*\*\*\*’;  
GRANT rds\_superuser TO pmm;

What should I check to fix the issue?

---

<div class="post-metadata">

**Author:** ![ademidoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ademidoff/32/14234_2.png) [@ademidoff](https://forums.percona.com/u/ademidoff)\
**Post date:** [June 24, 2024, 11:34am UTC](https://forums.percona.com/t/no-encoding-error/31072/2 "2024-06-24T11:34:42Z")

</div>

Hi Evgenia,

I can advise you to follow [this section](https://docs.percona.com/percona-monitoring-and-management/setting-up/client/aws.html) of our docs when adding an RDS instance to monitoring. It’s quite detailed and should hopefully get you started. In particular, it allows to discover the instances so many form fields are filled out for you.

Alex
