Page 1 of 1

LiveMap for Dedicated Web Server - Help

Posted: 08 Aug 2020, 05:15
by rob.goulet
Hello,

Version: 3.1.1

So when I have filled out the config-dedicated.php with my Server information for both Game server and MYSQL server. When i navigate to the site I get the following error: Failed to connect to the database.
Error: Failed to connect to the SQL database! Error 2002: Connection refused

Iv changed the PHP version on my webhost as well and it will also spit out an error about mysql.class.php on line 50
$this->link = new mysqli( $this->host, $this->user, $this->pass, $this->schema, $this->port );

Also in this file i notice it references localhost and port 3306

(I should note, This same info i use works fine on FeudalTools hosting, Also should note the i dont use default mysql port)

Re: LiveMap for Dedicated Web Server - Help

Posted: 08 Aug 2020, 21:55
by Chris
You receive this error if your webserver can't connect to your database, for whatever reason. Connection refused indicates something is blocking the traffic, such as a local firewall.
We can't help troubleshoot webservers here, sorry.