更新时间:2022-06-26 21:49:27
It looks like your pg_hba.conf is set to use peer authentication for local socket connections, meaning you can only connect as the Postgres user "chris" if you're logged in as the Linux user "chris". Your app is presumably using an IP connection rather than a socket connection, and will be subject to different authentication rules.
您可以通过以下任一方法解决此问题:
You could solve this by either: