Forum Moderators: open

Message Too Old, No Replies

SQLSTATE[HY000] [2002] No route to host

         

Radical Activity

6:27 pm on Feb 14, 2018 (gmt 0)

5+ Year Member



I have 2 servers. 1 is serving the websites and the other is the MySQL server.

I'm hosting them on Vultr. Everything was going well, uptime was 100% for the past few months, and suddenly, without changing anything on the server I've got this error message from the Webserver: SQLSTATE[HY000] [2002] No route to host

I'm using Laravel 5.5. I've checked the IP addresses of the servers but they haven't changed.

Does anyone have a clue what could be the problem?

topr8

1:52 am on Feb 15, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



if i was you i'd contaxct vultr support asap.

are you sure the mysql server is online?
can you use putty to log in to the server?

i'd say the server has gone ofline for some reason.
has a recent update changed the access permissions?

keyplyr

2:05 am on Feb 15, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'd try a back-up, then restart the server.

phranque

4:58 am on Feb 15, 2018 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



try pinging the server using the IP address and the hostname if you are using one.
if it's a hostname problem, use nslookup to find out what's going on with your DNS.
if you can't ping the IP address use traceroute to see if it's a network problem.