Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo for database failed: Name does not resolve in /code/index.php:5 Stack trace: #0 /code/index.php(5): PDO->__construct('mysql:host=data...', 'myuser', 'secret') #1 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name does not resolve in /code/index.php:5 Stack trace: #0 /code/index.php(5): PDO->__construct('mysql:host=data...', 'myuser', 'secret') #1 {main} thrown in /code/index.php on line 5