콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2300 화면

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? 

아바타
취소
베스트 답변

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.

아바타
취소