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);
printf("Connect failed: %s\n", mysqli_connect_error());
Hi and welcome to the forum
Sorry for the late reaction - do you still have this problem?
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.
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
There were some issues with SQL302, the server you were on. That has been fixed now. We’re sorry for the inconvenience.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.