Install issue - db connect.

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Geoffc
Posts: 1
Joined: 10 Nov 2019, 10:27

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
<?php

/**
 * @package MantisBT
 * @copyright Copyright (C) 2000 - 2002  Kenzaburo Ito - kenito@300baud.org
 * @copyright Copyright (C) 2002 MantisBT Team - mantisbt-dev@lists.sourceforge.net
 * @link http://www.mantisbt.org
 */

$g_hostname      = 'mantisbt.cluster-cXXXXXXXXXXXa.ap-south-1.rds.amazonaws.com:5432';
$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      = 'webmaster@example.com';
Attachments
mantisInstallSubmit.JPG
mantisInstallSubmit.JPG (111.6 KiB) Viewed 3511 times
mantisInstallLoadPage.JPG
mantisInstallLoadPage.JPG (124.48 KiB) Viewed 3511 times
TerranceM
Posts: 26
Joined: 27 Aug 2019, 13:55
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