OJS Installation Error

Trying to install OJS on my hosting but there is an error

Please help

“Errors occurred during installation
A database error has occurred: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host “localhost” (127.0.0.1) and accepting TCP/IP connections on port 5432? (SQL: create table “journals” (“journal_id” bigserial primary key not null, “path” varchar(32) not null, “seq” double precision not null default ‘0’, “primary_locale” varchar(14) not null, “enabled” smallint not null default ‘1’, “current_issue_id” bigint null))”

Can you tell us a bit more about your hosting environment? From the error message, it appears you’ve configured the database to use postgres on the same server as your webserver. Is that what you are expecting? How did you setup the database credentials?

Hi, Has your problem been resolved? I encountered a similar issue.

Errors occurred during installation
A database error has occurred: SQLSTATE[08006] [7] ��������: �û� “ojs2” Password ��֤ʧ�� (SQL: create table “journals” (“journal_id” bigserial primary key not null, “path” varchar(32) not null, “seq” double precision not null default ‘0’, “primary_locale” varchar(14) not null, “enabled” smallint not null default ‘1’, “current_issue_id” bigint null))

Hi @xaid_warraich,

Which OJS version are you trying to install?

Best regards,
Josh