Welcome to WebmasterWorld Guest from 54.224.83.221

Forum Moderators: open

SQLSTATE[HY000] [2002] No route to host

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

New User

joined:Feb 14, 2018
posts:1
votes: 0


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?
1:52 am on Feb 15, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3394
votes: 45


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?
2:05 am on Feb 15, 2018 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12083
votes: 770


I'd try a back-up, then restart the server.
4:58 am on Feb 15, 2018 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11388
votes: 157


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.