Access denied for user 'administrator'@'localhost'

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
lveit

Access denied for user 'administrator'@'localhost'

Post by lveit »

I'm trying to install Mantis 1.2.8.
I'm getting an error running install.php.
MySQL version 5.1.54.

Type of database: MySQL
Hostname: localhost
Username: root
Password: xxx
Database name: mantis
Admin Username: administrator
Admin Password: root

All checks come up GOOD except the following:

Attempting to connect to database as admin BAD
Does administrative user have access to the database? ( Access denied for user 'administrator'@'localhost' (using password: YES) )

Can anyone tell me how to get past this error?
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Access denied for user 'administrator'@'localhost'

Post by atrol »

lveit wrote: Admin Username: administrator
Admin Password: root
Do you have a database user "administrator" with password "root" and you can connect to that database with other tools?
Please use Search before posting and read the Manual
lveit

Re: Access denied for user 'administrator'@'localhost'

Post by lveit »

I set Username and Admin Username to the same value - the MySQL user name.
I set Password and Admin Password to the same value - the password for that user.
Now the install works.

Thanks for your help.
Post Reply