Error when opening Mantis

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
xolani
Posts: 18
Joined: 13 Sep 2013, 08:56

Error when opening Mantis

Post 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.
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Error when opening Mantis

Post by atrol »

Maybe there is a firewall blocking the connection.
Please use Search before posting and read the Manual
domino
Posts: 1
Joined: 24 Jul 2014, 20:26

Re: Error when opening Mantis (additional information)

Post 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
Post Reply