psql -h localhost -U postgres command from SDDC Manager from root directory failed with errors similar to the excerpt below: root@sddc_ManagerFQDN [ ~ ]# psql -h localhost -U postgres psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: fe_sendauth: error sending password authentication.VMware Cloud Foundation 5.1.x
In VCF 5.1.x, psql command would not work on SDDC Manager.
root@sddc_ManagerFQDN [ ~ ]# /usr/pgsql/13/bin/psql -h localhost -U postgres