Failed to connect to MySQL: “No route to host”

I got an error like Failed to connect to MySQL “No route to host”.How do I resolve the issue.My website is hosted in 1and1 server.

Junior Developer Asked on July 20, 2018 in PHP.
Add Comment
1 Answer(s)

If you got this kind of error please logged into 1and1 panel and check whether your website database was activate as “External Access”  or not.It should activate otherwise you will get this kind of error.

I had experienced with this kind of error and resolved to do this.

Note: If you still having the same issue then please contact with your hosting provider they might be helped you. Best of Luck.!!!

Team Leader Answered on July 20, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.