Page 1 of 1

Error when opening Mantis

Posted: 25 Mar 2014, 07:05
by xolani
I have installed Mantis and Testlink on the server and this is the error i get

APPLICATION ERROR #400
Database connection failed. Error received from database was #2002: No connection could be made because the target machine actively refused it.

Re: Error when opening Mantis

Posted: 25 Mar 2014, 07:58
by atrol
Maybe there is a firewall blocking the connection.

Re: Error when opening Mantis (additional information)

Posted: 24 Jul 2014, 20:32
by domino
I get the same error message.

I am behind a LAN, and my local IP is: 192.168.1.107
I am running EasyPHP (Apache + PHP5) on Windows XP.
I've also edited my HOSTS file to link "localhost" with my local IP (*.107).

I have gone through and updated all the conf files I can (and searched / replaced "127.0.0.1" with the proper IP).
When I try to raw TELNET to the IP/port (192.168.1.107:3306), I get this error message:

--> Host '192.168.1.107' is not allowed to connect to this MySQL server

So, the port / IP is open and receiving, but, it doesn't like the connection source itself.

I'm going to presume some kind of "allow" is needed within the mysql configuration.
But as I said above, I've changed every reference to 127.* and "localhost" to the proper IP.

Versions:
EasyPHP 14.1
MantisBT 1.2.17
APACHE 2.4.7
MYSQL 5.6.15
PHP 5.4.24