ERROR
Attempting to connect to a PostgreSQL database in ArcGIS Pro fails with the following error message returned:
Error: Geodatabase Connection Properties: Bad login user [ ]
The pg_hba.conf file is not modified to allow other client machines, such as the client machine running ArcGIS Pro, to connect with the PostgreSQL database machine.
C:\Program Files\PostgreSQL\<PostgreSQL version>\data\ pg_hba.conf
#TYPE DATABASE USER ADDRESS METHOD
host all all 122.22.222.222/32 md5
Note: On the IP address entry, add /32 at the end of the IP address if PostgreSQL cannot restart the services.
Get help from ArcGIS experts
Download the Esri Support App