Griseld Gerveni Griseld Gerveni - 1 year ago 188
MySQL Question

'PDOExcpetion' with message 'SQLSTATE[HY000] [2002] No route to host

I am facing with this problem today, while trying to connect to a remote mysql on a network. Framework used Laravel 5.3. I have configured properly the .env file with excact credentials. Yesterday was working fine.

Answer Source

It seems, that you have a network problem. Usually on a network ip changes from time to time. Please check the IP of the remote pc or computer on the network. If IP has changed, update again the .env file. Good luck.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download