"Attempting to connect to database as admin -> BAD

General discussion of Mantis.

Moderators: Contributor, Developer

"Attempting to connect to database as admin -> BAD

Postby nikhil » Oct 04, 2017 2:43 am

http://localhost:81/mantisbt/admin/install.php

When I visit this URL to check admin access it gives me error as

"Attempting to connect to database as admin -> BAD
Does administrative user have access to the database? ( Access denied for user 'root'@'localhost' (using password: YES) )"
Attachments
Capture.PNG
Capture.PNG (20.72 KiB) Viewed 353 times
nikhil
 
Posts: 4
Joined: Sep 27, 2017 7:55 am

Re: "Attempting to connect to database as admin -> BAD

Postby atrol » Oct 04, 2017 9:58 am

You entered the wrong password for the database user.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6716
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: "Attempting to connect to database as admin -> BAD

Postby Mophilly » Oct 04, 2017 6:52 pm

In addition to the advice from atrol, it is bad practice to log on as "root". Far better to create a dbms user account specifically for Mantis. E.g. 'mantisadmin' with limited privileges, access only to the Mantis database, and a complicated password.
Mophilly
 
Posts: 24
Joined: Feb 24, 2005 6:47 pm
Location: California


Return to General Discussion

Who is online

Users browsing this forum: Bing [Bot] and 8 guests