Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2255 Ansichten

Greeting everyone!


conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "odoo"



how to solve this issue? 

Avatar
Verwerfen
Beste Antwort

This error message is indicating that the connection to the PostgreSQL server on port 5432 failed due to a "FATAL: Peer authentication failed for user "odoo"" error. This typically means that the user "odoo" does not have the correct authentication credentials to connect to the server. You should check the credentials for the user and ensure that they are correct and that the user has the necessary permissions to connect to the server. Additionally, you should check the pg_hba.conf file to make sure that the server is configured to allow the user to connect from the correct location.

Avatar
Verwerfen