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

Database creation error: connection to server at "localhost" (::1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections?


Can anyone help me with this i cannot fix this although ive been searching for a lot

아바타
취소
베스트 답변

There are several ways to verify the PostgreSQL installation. You can try to connect to the PostgreSQL database server from any client application. But a quick way to verify the installation is through the psql program that comes with the Windows installation.


First, click the psql application to launch it (or enter psql in the searchbar). The psql command-line program will display.

source: https://www.postgresqltutorial.com/postgresql-getting-started/install-postgresql/

I hope this helps!

아바타
취소
작성자

Hello, sorry for the late reply.

I cannot find any of my SQL Shell even when ive deleted the psql once and reinstalled it on my computer, can you help me how do i fix this?

작성자

I tried to uninstall and then reinstall it again

Database creation error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "openpg"

Then this happens

베스트 답변

Most likely your PostgreSQL service is not running. If you are running a SystemD based distribution (which you probably do), what is the output of:

systemctl status postgresql.serivce


아바타
취소
작성자

I'm using window, can you tell me how to, im a student. I have odoo experience at school but at home i have no idea setting odoo server up to make things.
Thank you a lot

작성자

Database [postgres]:
Port [5432]:
Username [postgres]:
psql: warning: extra command-line argument "-U" ignored
psql: warning: extra command-line argument "postgres" ignored
psql: warning: extra command-line argument "-d" ignored
psql: warning: extra command-line argument "postgres" ignored
psql: warning: extra command-line argument "-p" ignored
psql: warning: extra command-line argument "5432" ignored
psql: error: could not translate host name "systemctl" to address: Unknown host