Are you sure your env reflects your production credentials and not your development credentials?
Jan 13, 2017
2
Level 1
SQL ERROR
I have a fairly low traffic server on Digital Ocean setup via Forge running Laravel v5.1. For the database it connects to a AWS -> RDS Amazon Aurora (mysql) instance. I have been seeing this error come up many times and I'm not exactly sure the best approach on how to address / fix it. Any ideas or suggestions would be welcome. Thanks!
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in [project_root]/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php on line 55
Please or to participate in this conversation.