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.
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused
could not connect to server: no route to host | mysqli::real_connect(): (hy000/2002): no route to host | no route to host windows | sqlstate(hy000) (2002) no route to host | no route to host vs connection timed out | can t connect to mysql server on 113 | no route to host vs connection refused could not connect to server: no route to host mysqli::real_connect(): (hy000/2002): no route to host no route to host windows sqlstate(hy000) (2002) no route to host no route to host vs connection timed out can t connect to mysql server on 113 no route to host vs connection refused
Share
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.!!!