MantisBT install

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
GeorgeHS
Posts: 3
Joined: Oct 17, 2018 9:44 am

MantisBT install

Post by GeorgeHS » Oct 17, 2018 12:56 pm

I used the installation procedures outline in https://mantisbt.org/docs/master/en-US/ ... _Guide.pdf
When I do not have the /var/www/html/mantis/config/config_inc.php defined I get the following response to starting MantisBT:
See Screen1.png
When I do have the /var/www/html/mantis/config/config_inc.php defined I get the following response to starting MantisBT:
See Screen2.png
In either case I can not get MantisBT started.
The confi_inc.php file looks like:
See config_inc.txt
Attachments
sreen1.png
sreen1.png (111.82 KiB) Viewed 795 times

atrol
Site Admin
Posts: 7632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT install

Post by atrol » Oct 17, 2018 1:06 pm

GeorgeHS wrote:
Oct 17, 2018 12:56 pm
I used the installation procedures outline in https://mantisbt.org/docs/master/en-US/ ... _Guide.pdf
When I do not have the /var/www/html/mantis/config/config_inc.php defined I get the following response to starting MantisBT:
See Screen1.png
Right
The next step is to enter the database user and password and to click the "Install / Upgrade Database" button.
If all goes well, config_inc.php is created by the installer.
Please use Search before posting and read the Manual

GeorgeHS
Posts: 3
Joined: Oct 17, 2018 9:44 am

Re: MantisBT install

Post by GeorgeHS » Oct 17, 2018 2:42 pm

Is this the existing user and password I use access MySQL or is it a new one for the mantisa database?

Do I need to enter an Admin user and password also?
Thanks, George

atrol
Site Admin
Posts: 7632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT install

Post by atrol » Oct 17, 2018 3:16 pm

Mantis does not create users. You have to create them before running the installer.

There are two options.
1) Use one user with all the privileges described at https://www.mantisbt.org/docs/master/en ... nstall.new

Just enter Username and Password in the first two fields
The installer will use the user to create the database/tables and the same user will also be used later on when running the system

2) Use two separate users

Enter in addition the Admin Username and Admin Password
The installer will use this high privileged user to create the database/tables and the first user will be used later on when running the system

Pro: Good security as there is no high privileged user accessing the database after install
Please use Search before posting and read the Manual

GeorgeHS
Posts: 3
Joined: Oct 17, 2018 9:44 am

Re: MantisBT install

Post by GeorgeHS » Oct 17, 2018 7:08 pm

I enter the user id and password that I use for all my other MySQL activities and entered a name and password for the Admin fields.
When I clicked Install/Update database I get the following message:
BAD
Does administrative user have access to the database? ( Access denied for user 'MantisAdmin'@'localhost' (using password: YES) )
See attached file Screen3.png
Attachments
Screen3.png
Screen3.png (146.67 KiB) Viewed 774 times

atrol
Site Admin
Posts: 7632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT install

Post by atrol » Oct 18, 2018 12:36 am

It's a bit strange what I see.
User root is typically the MySQL administrator with full access rights, so I wouldn't have expected you use it as the first user who needs not that much rights.

All I what can see at the moment is that you might have entered a wrong name for the Admin User (MantisAdmin) and / or entered the wrong password and/or MySQL does not allow the user which is runnig the web server process to connect to the database.
As a first step, I would try to connect to the database on command line.
Please use Search before posting and read the Manual

Post Reply