Install issue - db connect.

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Posts: 1
Joined: Nov 10, 2019 5:27 am

Install issue - db connect.

Post by Geoffc »

Ive tried this before a few months agio (2.21.1) and failed at this step. Gave up and tried bugzilla (yuck)

Trying again 2.22.1.
Environ: AWS EC@ running Cento7, php 7.2.24, nginx 1.16.1
Aim is to run posgresql via AWD RDS/Arora.

I've tried also mysql AWS RDS/Arora, ans well as local instll of both postgres and mysql; each time howver I have the same result.

Just entering db info in install.p;hp form or in config file result sin same error.

Login from command line is possible/successful in all cases.

I added a bit of debug code to install.php, just to check params were being used as input.(OK)

I'll continue investigating as I like mantis (from experience years ago)

I am stumped.
I see others have had this issue previously but I canot find anywhere a suggested solution.
I'd really appreciate some help.

config: (redacted hostname password, etc)

Code: Select all

 mantisbt]# grep -v "\#" config/config_inc.php

 * @package MantisBT
 * @copyright Copyright (C) 2000 - 2002  Kenzaburo Ito -
 * @copyright Copyright (C) 2002 MantisBT Team -
 * @link

$g_hostname      = '';
$g_db_username   = 'mantis';
$g_db_password   = 'EXXXXXXXXXz';
$g_database_name = 'bugtracker';
$g_db_type       = 'pgsql';

$g_allow_signup                         = ON;
$g_allow_anonymous_login        = OFF;
$g_anonymous_account            = '';

$g_webmaster_email      = '';
mantisInstallSubmit.JPG (111.6 KiB) Viewed 1853 times
mantisInstallLoadPage.JPG (124.48 KiB) Viewed 1853 times

Posts: 25
Joined: Aug 27, 2019 8:55 am
Location: USA

Re: Install issue - db connect.

Post by TerranceM »

Even I face database connection with the latest version and earlier versions also I used to face but haven't figured out yet.

Post Reply