Error: Database user doesn't have access to the database

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
SSteve
Posts: 2
Joined: 23 May 2015, 21:03

Error: Database user doesn't have access to the database

Post by SSteve »

I'm trying to install Mantis 1.2.19 and I can't get past the "Database user doesn't have access to the database" error.

Here's the user permissions:

Code: Select all

+---------------------------------------------------------------------------------------------------------------+
| Grants for mantis@localhost                                                                                   |
+---------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'mantis'@'localhost' IDENTIFIED BY PASSWORD '<password>' |
| GRANT SELECT, INSERT, UPDATE, DELETE ON `bugtracker`.* TO 'mantis'@'localhost'                                |
+---------------------------------------------------------------------------------------------------------------+
Here's my setup screen:
Screen Shot 2015-05-23 at 2.08.20 PM.png
Screen Shot 2015-05-23 at 2.08.20 PM.png (138.63 KiB) Viewed 5477 times
It appears the passwords are ok based on the results for "Setting Database Username" and "Setting Database Password". Where is my error?
SSteve
Posts: 2
Joined: 23 May 2015, 21:03

Re: Error: Database user doesn't have access to the database

Post by SSteve »

I figured out the problem. It stems from the fact that I changed the database password after the first attempt at initialization. The installation page used the database password from config_inc.php instead of the one I entered in the form. I've filed a bug against this issue: http://www.mantisbt.org/bugs/view.php?id=19749
Post Reply