Page 1 of 1

Database Connection Failed

Posted: 07 Mar 2019, 21:34
by xNaTaSx
Receiving 'Couldn't connect to MariaDB Database 'lif_xx' on xx.xx.xxx.xxx (xxxx)' error on Feudal Tools page after what appears to have been some sort of outage on the east coast US. Hosted server went down. Steam went down type of thing. After the server came back up I tried to go to my LiveMap page and received this message 'livemap.feudal.tools is currently unable to handle this request.' I am able to connect to DB using Heidi. Any thoughts?

Re: Database Connection Failed

Posted: 08 Mar 2019, 12:42
by xNaTaSx
Still wondering if anyone has seen this before. A little more information that I should have posted yesterday. So everything has been fine for months. Something happened yesterday, I might have read that there was a DDoS on a major DNS provider but I'm not sure. Anyway, Steam was offline for about 15 minutes for a ton of people. I had no connection to the Host provider FTP, DB, Portal...nothing. After a while everything just came back up. Server never rebooted just couldn't connect. Since then I get 'Couldn't connect to DB' error on Feudal Tools and LiveMap is just dead. I'm not sure if the host is blocking something now or if Feudal Tools needs to be reset. I am able to connect to the DB using Heidi with the same credentials. Any thoughts...

Re: Database Connection Failed

Posted: 08 Mar 2019, 15:50
by Nyuton
Whats your Server ID or Livemap link so I can take a look at potential error logs coming from your Livemap?

Re: Database Connection Failed

Posted: 08 Mar 2019, 16:50
by xNaTaSx

Re: Database Connection Failed

Posted: 08 Mar 2019, 17:09
by Nyuton
Your database host is refusing connections from feudal.tools server. That's something that you can only fix yourself.

Code: Select all

[Fri Mar 08 18:03:55 2019] [error] [client 75.172.15.143] PHP Warning:  mysqli::mysqli(): (HY000/1129): Host 'feudal.tools' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /var/www/terratool_livemaps/includes/mysql.class.php on line 50, referer: https://livemap.feudal.tools/id/2210

Re: Database Connection Failed

Posted: 08 Mar 2019, 17:16
by xNaTaSx
Appreciate your time. You are a master at your craft. Love what you do here...keep it up.

Re: Database Connection Failed

Posted: 08 Mar 2019, 18:19
by xNaTaSx
Worked like a charm. All back up and running. Thanks again!

Re: Database Connection Failed

Posted: 18 Mar 2019, 11:21
by kilem67
Hello, I have the same problem except that I am not yet the live map

Re: Database Connection Failed

Posted: 22 Sep 2019, 17:43
by Lucita
Hello,
I have the same problem as Kilem67.
I can not add my server to feudaltools.
Please, I need help!

Thank !