Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /opt/sites/tournaments/lib/database.php:41
Stack trace:
#0 /opt/sites/tournaments/lib/database.php(41): PDO->__construct('mysql:host=tour...', 'tournaments', 't4pxfkka', Array)
#1 /opt/sites/tournaments/lib/database.php(29): Database->connect()
#2 /opt/sites/tournaments/lib/database.php(18): Database->__construct('mysql:host=tour...', 'tournaments', 't4pxfkka')
#3 /opt/sites/tournaments/lib/controller.php(34): Database::getInstance()
#4 /opt/sites/tournaments/htdocs/index.php(75): Controller->__construct()
#5 {main}
Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /opt/sites/tournaments/lib/database.php:41
Stack trace:
#0 /opt/sites/tournaments/lib/database.php(41): PDO->__construct('mysql:host=tour...', 'tournaments', 't4pxfkka', Array)
#1 /opt/sites/tournaments/lib/database.php(29): Database->connect() in /opt/sites/tournaments/lib/database.php on line 41