Until now, I always installed mantis on Ubuntu Precise using mysql running on localhost. Now I have a webserver host and a separate database host and try to install mantis via admin/install.php. TCP connection to mysql from webserver works, remote login as user "root" in mysql-client also, "root" seems to have all required privileges.
When starting the database creation, everything works up to:
"Write Configuration File(s): Updating Configuration File (config_inc.php) GOOD"
but first check of installation fails:
Checking Installation...
Attempting to connect to database as user: POSSIBLE PROBLEM: Database user doesn't have access to the database ( )
STRANGE: There is no reason mentioned for failure in brackets, in contrast to nearly all other reports (try Google search "mantis install Database user doesn't have access to the database").
When looking into the database, privileges seem odd, e.g.
Code: Select all
mysql> SELECT Host,User FROM user;
+---------------------------+------------------+
| Host | User |
+---------------------------+------------------+
| [IP of the dbserver] | mantis_user |
Code: Select all
UPDATE user SET Host='%' WHERE User='mantis_user';
FLUSH PRIVILEGES;
Code: Select all
SHOW GRANTS FOR 'mantis_user'@'%';
| GRANT USAGE ON *.* TO 'mantis_user'@'%' IDENTIFIED BY PASSWORD '*xxx' |
Any ideas?