I too have started facing a similar issue. After working flawlessly for a long time, I have started getting a “Connection timed out” error from PHP:
**Warning** : mysqli_connect(): (HY000/2002): Connection timed out in **/home/vol14_6/epizy.com/epiz_30668142/htdocs/index.php** on line **70**
MySQL username: epiz_30668142
PHP code that has stopped working today:
$con = mysqli_connect($host,$user,$pass,$db);
if(!$con) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
Oxy
August 18, 2022, 6:51pm
2
Hi and welcome to the forum
Sorry for the late reaction - do you still have this problem?
5 Likes
Hello @Oxy - many thanks for your message. The problem mysteriously got resolved overnight! Thank you so much for your quick assistance. Appreciate it very much.
2 Likes
Oxy
August 19, 2022, 8:07am
4
Probably some changes were made on the server in order to improve the quality of the service.
Thanks for the feedback and good luck in your future work
2 Likes
Admin
August 19, 2022, 8:21am
5
There were some issues with SQL302, the server you were on. That has been fixed now. We’re sorry for the inconvenience.
4 Likes
system
Closed
August 26, 2022, 8:22am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.