MySQL Connection Error – No Route to Host

Website URL

https://rjbstore.site.je

Error Message

Hello InfinityFree Support,

My website, RJB Store (rjbstore.site.je), is showing a Database Setup Required error.

My error log says:

SQLSTATE[HY000] [2002] No route to host

My MySQL Databases page also shows:

“An error occurred while connecting to the hosting platform.”

My MySQL hostname is sql312.infinityfree.com, port 3306.

Could you please investigate my hosting account and check the MySQL server connection?

Please make sure my existing database and its contents are preserved.

Thank you.

Other Information

I have already checked my database configuration, and the MySQL hostname and port match the details shown in my InfinityFree control panel.

The website was working before, but it suddenly started showing a Database Setup Required error. The error log reports SQLSTATE[HY000] [2002] No route to host.

I also cannot access the MySQL database list properly because the control panel displays an error connecting to the hosting platform.

Please investigate whether my MySQL server is temporarily unavailable and confirm that my existing database and data are safe.

Thank you.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

Your hostname is right, so this doesn’t look like a configuration problem. Your account’s MySQL host is sql312.infinityfree.com, and your database RJB is still listed on the account.

“No route to host” means your website can’t reach the MySQL server over the network. The same error appeared in September, when it was a connection problem between websites and the database servers. Staff posted that one on the status page:

Connection issue to MySQL servers (status page)

Your “An error occurred while connecting to the hosting platform” message has also been reported on its own. For another user on 2 December, staff said it was a connection issue between the control panel and the members area, with a spike in errors that had since cleared:

Unable to Access MySQL Databases and phpMyAdmin – Hosting Platform Error

I couldn’t find anything that says whether sql312 has a problem right now. Does status.infinityfree.com list an open database issue today? And do both errors still appear after you reload the MySQL Databases page and the site?

I get the same, and I cannot find my database either, so to me it seems like that must be the reason why this error appears..

Me too. “Error al establecer una conexión con la base de datos” in the site front and “Se produjo un error al conectar con la plataforma de hosting. Vuelve a intentarlo más tarde o utiliza el panel de control.” in the SQL admin area. 2 sites down right now.

Your website seems to be working now. So whatever it was, it seems to have been resolved now.