简体   繁体   English

无法连接到'mysql.hostinger.in'上的MySQL服务器(111“连接被拒绝”)

[英]Can't connect to MySQL server on 'mysql.hostinger.in' (111 “Connection refused”)

I have this website where everything works great, but sometimes the following error is generated randomly while navigating around it: 我有这个网站,一切都很好,但有时导航时会随机生成以下错误:

Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on
'mysql.hostprovidername.com' (111 "Connection refused")
in /home/somepath/public_html/pagename.php on line 2

I cannot understand what the issue is. 我无法理解问题所在。 I have also talked to my host providers and they are asking for a particular url where they can see this error but the error is generated randomly at any time and on any page. 我还与我的主机提供商交谈,他们要求一个特定的网址,他们可以看到这个错误,但错误是随时随地在任何页面上生成的。

How can I give them any particular url? 我怎么能给他们任何特定的网址?

Ask the Hosting provider about its reliability numbers. 向托管服务提供商询问其可靠性数字。 Chances are that when you cannot connect, the server might be actually down. 有可能当您无法连接时,服务器可能实际上已关闭。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM