Website URL
Error Message
Hello InfinityFree Support,
My website suddenly stopped connecting to its MySQL database. Whenever I attempt to log in, the website displays the following error:
SQLSTATE[HY000] [2002] No route to host
The error originates from:
/config/database.php – Line 21
Database Information
MySQL Hostname: sql310.infinityfree.com
MySQL Port: 3306
Additional Troubleshooting
I have already verified my database configuration and performed a server-side PHP connectivity test.
The diagnostic results are:
HOST: sql310.infinityfree.com
DNS: SUCCESS (192.168.0.200)
MYSQL NETWORK: FAILED
Error: Connection timed out (110)
Additionally, when accessing the MySQL Databases section in my InfinityFree Control Panel, I receive this message:
“An error occurred while connecting to the hosting platform. Please try again later or use the control panel.”
My website was working properly before this issue occurred. I have not intentionally changed my database credentials, hostname, or connection configuration.
Other Information
Could you please investigate whether there is a network connectivity, routing, firewall, or MySQL server issue affecting SQL310?
I would also appreciate confirmation that my existing database and its contents are safe and have not been affected.
I have avoided recreating the database or modifying its credentials to prevent potential data loss.
Thank you for your assistance.